https://fedoraproject.org/wiki/User:Churchyard/Python2Drop/Packaging:Python
https://fedoraproject.org/wiki/User:Churchyard/Python2Drop/Packaging:Python_Appendix
(Note that the guidelines changed a bit in the meantime and this is not git so I won't rebase the change. The diffs are more important than the drafts.)
https://fedoraproject.org/w/index.php?title=User%3AChurchyard%2FPython2Drop%2FPackaging%3APython&type=revision&diff=524506&oldid=524390
https://fedoraproject.org/w/index.php?title=User%3AChurchyard%2FPython2Drop%2FPackaging%3APython_Appendix&type=revision&diff=524507&oldid=524412
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
The %python_provide macro section is somehow vague. I didn't want to mention the "system runtime" thing being Python 2, as I find it counterproductive. We are also drafting a thing with the dnf team that would make it possible to rework the %python_provide macro to do a bit different thing, getting dnf the ability to say: python-foo is not available, but we have python2-foo or python3-foo. This is still cooking so I haven't included it here. EDIT: @pviktori suggested an improvement to this, updated.
%python_provide
I've also changed the executables naming rule.
cc @pviktori @cstratak @zbyszek @ignatenkobrain @ngompa
We talked about this at todays meeting (https://meetbot-raw.fedoraproject.org/fedora-meeting-1/2018-09-13/fpc.2018-09-13-16.01.txt):
Metadata Update from @james: - Issue untagged with: meeting - Issue assigned to churchyard - Issue tagged with: writeup
Announcement text:
The Python packaging guidelines have been updated to reflect the fact that Python 2 is deprecated. All relevant information for legacy Python 2 packaging has been moved to the appendix. Together with this change, the rule for naming the executables iff both Python versions are shipped has been changeed: "The unversioned executable should be the python3 version, unless it would break users expectations, in that case it may be the python2 version." Examples of that are provided in the appendix.
https://fedoraproject.org/wiki/Packaging:Python https://fedoraproject.org/wiki/Packaging:Python_Appendix https://pagure.io/packaging-committee/issue/793
Metadata Update from @churchyard: - Assignee reset - Issue untagged with: hasdraft, writeup - Issue tagged with: announce
Metadata Update from @tibbs: - Issue untagged with: announce - Issue close_status updated to: accepted - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.