From Fedora Project Wiki
(initial copy)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Python Version Support ==
 
== Python Version Support ==
  
In Fedora we have multiple Python runtimes, one for each supported major Python release. At this point that's one for python2.x and one for python3.x. If a piece of software supports python3, it must be packaged for python3. If it supports python2 as well, it may be packaged for python2. If it supports only python2 then (obviously) it must not be packaged for python3.
+
In Fedora we have multiple Python runtimes, one for each supported major Python release. At this point that's one for python3.x and one for python2.7. However the python2 stack will be removed in the foreseeable future. If a piece of software supports python3, it MUST be packaged for python3. If it supports python2 as well, it SHOULD NOT be packaged for python2 unless there is a specific reason (e.g. because it's a dependency for another package that doesn't support python3 yet). If it supports only python2 then (obviously) it must not be packaged for python3, the packager SHOULD contact upstream and encourage them to correct this mistake.

Latest revision as of 15:34, 22 February 2018

Python Version Support

In Fedora we have multiple Python runtimes, one for each supported major Python release. At this point that's one for python3.x and one for python2.7. However the python2 stack will be removed in the foreseeable future. If a piece of software supports python3, it MUST be packaged for python3. If it supports python2 as well, it SHOULD NOT be packaged for python2 unless there is a specific reason (e.g. because it's a dependency for another package that doesn't support python3 yet). If it supports only python2 then (obviously) it must not be packaged for python3, the packager SHOULD contact upstream and encourage them to correct this mistake.