Bug 4586 - Handle distributions without Python 2
Summary: Handle distributions without Python 2
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server OS (show other bugs)
Version: 4.0.0
Hardware: PC Linux Ubuntu
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
: 4867 (view as bug list)
Depends on: 4867 5742
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-08 09:49 CEST by Aaron Sowry
Modified: 2020-02-18 10:04 CET (History)
3 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Aaron Sowry cendio 2013-04-08 09:49:36 CEST
According to https://wiki.ubuntu.com/RaringRingtail/TechnicalOverview:

"We eventually intend to ship only Python 3 with the Ubuntu desktop image, not Python 2. This Ubuntu 13.04 Beta continues this process, although we will not be able to convert everything to Python 3 for Ubuntu 13.04."

Also, according to https://wiki.ubuntu.com/Python/3:

"It is a release goal for Ubuntu 14.04 LTS to have only Python 3 on the desktop CD images."

Since LTS releases are potentially of interest for us in terms of recommended/tested distributions, perhaps we should discuss how this might affect ThinLinc on this platform.
Comment 1 Pierre Ossman cendio 2013-10-24 09:33:49 CEST
Fedora are also aiming for only Python 3 in the default installation:

https://fedoraproject.org/wiki/Changes/Python_3_as_Default
Comment 2 Pierre Ossman cendio 2013-10-24 09:43:34 CEST
Also see bug 4867.
Comment 3 Pierre Ossman cendio 2016-04-01 14:17:46 CEST
The Ubuntu 16.04 Beta default server installation does not include Python 2. It therefore also does not include python-apt by default, preventing automatic package installation.

There are also no desktop alternatives in the server installer, so it might be that no option (except manually selecting the python package) gives you Python 2 during installation.
Comment 4 Pierre Ossman cendio 2016-04-01 14:35:29 CEST
Ubuntu 16.04 Desktop version includes Python 2 by default at least, but not python-apt.
Comment 6 Pierre Ossman cendio 2016-07-07 13:26:01 CEST
Bug 5742 has implemented checks for Python and PyGTK and tries to help the user install these.

Platform Specific Notes have also been written for both Red Hat/Fedora and Ubuntu. SLE/openSUSE still ship Python 2 even in the minimal install so they do not need any action yet.
Comment 7 Peter Åstrand cendio 2016-08-09 12:23:48 CEST
(In reply to comment #6)

> Platform Specific Notes have also been written for both Red Hat/Fedora and
> Ubuntu. 

Looks good.
Comment 8 Pierre Ossman cendio 2017-12-11 12:02:02 CET
More Ubuntu updates:

https://lists.ubuntu.com/archives/ubuntu-devel-announce/2017-December/001234.html
Comment 9 Peter Åstrand cendio 2018-06-26 07:45:52 CEST
https://lwn.net/Articles/756628/
Comment 10 Pierre Ossman cendio 2018-12-04 14:39:20 CET
RHEL 8 beta is now out, and this is their position on Python:

> Python 3.6 is the default Python implementation in RHEL 8; limited support for Python 2.7 is provided. No version of Python is installed by default.

A bit problematic that we can't even assume Python 3 is installed going forward...

More details here:

https://developers.redhat.com/blog/2018/11/27/what-no-python-in-rhel-8-beta/
Comment 11 Pierre Ossman cendio 2018-12-04 15:12:59 CET
Even more details about Python in RHEL 8:

https://developers.redhat.com/blog/2018/11/14/python-in-rhel-8/

One thing that is missing is a clear indication when Red Hat will stop supporting Python 2.
Comment 12 Samuel Mannehed cendio 2019-11-04 13:06:17 CET
"/usr/bin/python" now points to python 3 on Fedora 31.

Python 2 will be removed in Fedora version 32:

https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
Comment 13 Pierre Ossman cendio 2020-02-04 12:59:52 CET
*** Bug 4867 has been marked as a duplicate of this bug. ***
Comment 14 Philipp Rehs 2020-02-18 09:48:03 CET
Is there any new progress on this issue? Archlinux is also currently removing python2 from its repos
Comment 15 Pierre Ossman cendio 2020-02-18 10:04:35 CET
Yes, it is something we intend to address in the coming releases.

Note You need to log in before you can comment on or make changes to this bug.