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
Dne 4.11.2013 16:56, Toshio Kuratomi napsal(a):
@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.
Can we use that one?
St 30. říjen 2013, 21:37:14 CET, Ralph Bean napsal:
- I got this script from dmalcolm https://github.com/ralphbean/fedora-wiki-python3-page I run it monthly to update this wiki page https://fedoraproject.org/w/index.php?title=Python3
(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.
OK, next time, I'll send the propsed text to the devel list and/or fesco.
On Mon, Nov 04, 2013 at 05:21:26PM +0100, Miro Hrončok wrote:
Dne 4.11.2013 16:56, Toshio Kuratomi napsal(a):
@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.
Can we use that one?
St 30. říjen 2013, 21:37:14 CET, Ralph Bean napsal:
- I got this script from dmalcolm https://github.com/ralphbean/fedora-wiki-python3-page I run it monthly to update this wiki page https://fedoraproject.org/w/index.php?title=Python3
Probably not directly but you could probably adapt it. I think that list is only tracking packages that were already in the table. We'd need to evaluate whatever is on the critpath list:
https://admin.fedoraproject.org/pkgdb/lists/critpath?tg_format=plain&col...
(Also available as tg_format=json if that helps in scripting.)
-Toshio
----- 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.
python-devel@lists.fedoraproject.org