Project

Profile

Help

Task #1293

closed

Pulp should explicitly use Python 2 in preparation for Fedora 23

Added by rbarlow over 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Fedora 23 is currently scheduled to be released on November 3rd. I did some research[0] to try to find out what Pulp needs to do, and it sounds like we need to recommend that Fedora users install Python 2 (it won't be installed by default anymore on Workstation or Cloud.) According to PEP-394[1], Unix distributions should keep /usr/bin/python pointing to a Python 2 distribution if one is installed.

However the PEP also states that due to at least one distribution (Arch) already shipping Python 3 as /usr/bin/python, /usr/bin/python should be used for applications that are compatible with both Python 2 and 3. It recommends that applications that are only compatible with Python 2 should use /usr/bin/python2.

[0] http://fedoraproject.org//wiki/Changes/Python_3_as_Default
[1] https://www.python.org/dev/peps/pep-0394/

Also available in: Atom PDF