Hide Forgot
Python 2.7 will reach end-of-life in January 2020, over 9 years after it was released. This falls within the Fedora 31 lifetime. Packages that depend on Python 2 are being switched to Python 3 or removed from Fedora: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages Python 2 will be retired in Fedora 32: https://fedoraproject.org/wiki/Changes/RetirePython2 To help planning, we'd like to know the plans for subversion's future. Specifically: - What is the reason for the Python2 dependency? (Is it software written in Python, or does it just provide Python bindings, or use Python in the build system or test runner?) - What are the upstream/community plans/timelines regarding Python 3? - What is the guidance for porting to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?) This bug is filed semi-automatically, and might not have all the context specific to subversion. If you need anything from us, or something is unclear, please mention it here. Thank you.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages If you need any information or help, or if you need some more time, please let us know.
(In reply to Lumír Balhar from comment #0) > - What is the reason for the Python2 dependency? (Is it software written in > Python, or does it just provide Python bindings, or use Python in the build > system or test runner?) > > - What are the upstream/community plans/timelines regarding Python 3? Upstream Subversion python bindings are not ported to py3 in current releases. > - What is the guidance for porting to Python 3? (Assuming that there is > someone who generally knows how to port to Python 3, but doesn't know > anything about the particular package, what are the next steps to take?) Porting to Py3 is a WIP upstream - there's a branch for it not yet merged. For F31 we can rebuild subversion w/o python bindings (it is all conditinoalized in the spec) though it'll mean dropping the packages which depend on it: $ repoquery -q --whatrequires python2-subversion svnmailer-0:1.0.9-15.fc30.noarch viewvc-0:1.1.26-9.fc30.noarch
Thanks for the info! F31 is okay. Python 2 will be retired in Fedora 32. Sorry for the confusing wording there. Similar bugs should be open for svnmailer and trac. If they (or python2-subversion) need to stay in Fedora 32, they'll need a FESCo exception for themselves and their dependencies. Otherwise, we plan to remove them by November. Until then, please don't break the dependencies.
Commit: https://src.fedoraproject.org/rpms/subversion/c/1009d9c40134fac8ebbee82b9cfb2ce93980440c
svnmailer and viewvc have both been retired now, so I'm rebuilding f32 subversion as py3-only.
Package: subversion-1.12.2-2.fc32
Note that the build of subversion-1.12.2-2.fc32 has not produced a python3-subversion package due to the "%bcond_with pyswig" conditional, presumably because upstream isn't ready for python3 yet as mentioned in comment #4?
Paul - yes, exactly right. It's possible there will be an 1.13.x release in time for F32 which merges the py3 branch upstream, there has been discussion about this upstream and I may be able to put some time into testing. But otherwise F32 will ship without Python bindings for SVN.
There is progress and active discussion on Python 3 support upstream now and it should be fully supported (including bindings) at least by Subversion 1.14. Subversion 1.13 is now built, but only as a module (since SWIG 4 is also not supported) and I'll continue to track this upstream.