Description of problem: 2to3 is provided by upstream python to aid in porting code from python2 to python3. It finds common code patterns that have changed and updates them to the new pattern. This tool is shipped with the upstream python tarball and so it is only updated when the python interpreter and stdlib has a new release. Now that python2 is entering maintainance mode, python3 will see more frequent updates than python2. This will allow mean that the 2to3 in python3 will quickly get ahead of the python2 version. We should therefore switch /usr/bin/2to3 from being the python2 provided version to being the python3 provided version. A version of 2to3 under a different name should remain for people who still want to use the python2 version on their systems (for debugging or to eliminate deps on certain systems).
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
Still valid.
Removed from python2-tools and added to python3-tools. Proper conflicts added. +# https://bugzilla.redhat.com/show_bug.cgi?id=1111275 +# /usr/bin/2to3 was moved from here +# TODO Remove in Fedora 29 +Conflicts: python2-tools < 2.7.13-17 +Conflicts: python-tools < 2.7.13-17 -mv ${RPM_BUILD_ROOT}%{_bindir}/2to3 ${RPM_BUILD_ROOT}%{_bindir}/python3-2to3 -%{_bindir}/python3-2to3 +%{_bindir}/2to3 +# TODO: Remove 2to3-3.7 once rebased to 3.7 %{_bindir}/2to3-%{pybasever} 2to3-X.Y shoudl also be removed from python26 and python3{3..6}. As per the original request: > A version of 2to3 under a different name should remain for people who still want to use the python2 version on their systems (for debugging or to eliminate deps on certain systems). $ python2 -m lib2to3 can be used instead.
Requested a guideline change, because 2to3 is explicitly mentioned there and what I did goes against that guideline (however weird that guideline is). https://pagure.io/packaging-committee/issue/711
(In reply to Miro Hrončok from comment #8) > Requested a guideline change, because 2to3 is explicitly mentioned there and > what I did goes against that guideline (however weird that guideline is). > > https://pagure.io/packaging-committee/issue/711 Fixed.