Changes for F22 -- Python 3 as Default
Bohuslav Kabrda
bkabrda at redhat.com
Mon Nov 25 13:12:43 UTC 2013
----- Original Message -----
> 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.
Thanks for sending this (and sorry that I'm responding so late).
> 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.
+1, sounds good.
> 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.
Will you create an FPC ticket or shall I? (or have you already created it?)
I'm currently working on a proposal of some further changes, I'm hoping to send it here and to packaging list tomorrow for discussion - I want to reach some sort of consensus before submitting to FPC. Again, sorry that it's taking me so long.
Slavek.
More information about the python-devel
mailing list