Changes for F22 -- Python 3 as Default

Toshio Kuratomi a.badger at gmail.com
Mon Nov 4 15:56:04 UTC 2013


The Change page for python3 as default has a pretty empty entry for policies
and guidelines.  Just, "discuss with FPC"; no list of what to actually change.
We should start working on fleshing that out.

Here's one that should be fairly easy:

* https://fedoraproject.org/wiki/Packaging:Python#Guidelines : Currently
  reads:

If the executables provide the same functionality independent of whether
they are run on top of Python 2 or Python 3, then only one version of the
executable should be packaged. Currently it will be the python
2 implementation, but once the Python 3 implementation is proven to work,
the executable can be retired from the python 2 build and enabled in the
python 3 package. Be sure to test the new implementation. Transitioning from
python2 to python3 is left to individual package maintainers except for
packages in Fedora's critical path. For these, we want to port to python3
versions in the same Fedora release if possible.

Change that to:

If the executables provide the same functionality independent of whether 
they are run on top of Python 2 or Python 3, then only one version of the
executable should be packaged.  In F22 and later, this should be the Python 3
version.  In F21 and earlier this is left to the individual package
maintainers '''except''' for packages in Fedora's critical path.  Those should
remain on the Python 2 version so that we don't drag in both python2 and
python3 stacks on a minimal system.

I think this change could go into FPC's queue to approve now because the
differences are all per-version so it does not causes problems for packages
which are not yet thinking about F22.

@churchyard, as part of this we should probably come up with another list of
packages that do not have python3 versions for the packages in the critical
path. (btw, I'm much happier with the text of the latest round of bug
reports, thanks).  (Note though -- I think fesco still likes us to pass
anything we're going to mass file bugs for to them (or to the devel mailing
list?) to review first because mass filings can affect a lot of people.

Final note: There were three changes to the python guidelines approved by
FPC in this ticket: https://fedorahosted.org/fpc/ticket/327#comment:9

Unfortunately, both bkabrda and I have been pulled away to work on SCL
drafts so the three changes have not been written up.  If someone would be
willing to write up those changes as a new version of the guidelines page::
  http://fedoraproject.org/wiki/Packaging:Python

I'd be able to make time to review that and merge it into the Guidelines.

Thanks,
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/python-devel/attachments/20131104/3bf3f0f4/attachment.sig>


More information about the python-devel mailing list