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 libxslt'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 libxslt. 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, please let us know.
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.
According to the procedure described in https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages the package was now orphaned. If you think it was a mistake, you can provide the answers and claim the package back. Let us know if you need any help or just need more time.
I can answer the question, hopefully ... The package depends on Python 2 because it includes Python bindings. The upstream Python bindings appear to have been ported to Python 3, so they can be compiled against either Python 2 or Python 3. However the way the bindings are compiled in Fedora's libxslt package is that they are only compiled against Python 2 (not 2 and 3, nor just 3). Therefore it appears that a solution to this will be to change the bindings so they are only compiled against Python 3. This should be a simple change, but I'm looking at it now.
(In reply to Richard W.M. Jones from comment #7) > The upstream Python bindings appear to have been ported to Python 3, so they > can > be compiled against either Python 2 or Python 3. The link to git on the libxslt website points to the _libxml2_ source tree, not the libxslt source tree. When I looked at the right source tree I see that libxslt bindings have _not_ been converted to Python 3. In fact there are some fairly fundamental problems including Python 2 syntax everywhere including the configure script. So my new suggestion is we remove the Python 2 bindings for now, which I'm going to look into ...
FEDORA-2019-5c32b4908a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c32b4908a
Not sure this is fair to do in Fedora 31: $ repoquery --repo=rawhide{,-source} --whatrequires python2-libxslt bamf-0:0.5.4-2.fc31.1.src beaker-0:26.5-1.fc31.src beaker-client-0:26.5-1.fc31.noarch
There's an old bug report at GNOME bugzilla, last modified in 2015 (not counting the two confused comments from 2017).
(In reply to Miro Hrončok from comment #10) > Not sure this is fair to do in Fedora 31: > > $ repoquery --repo=rawhide{,-source} --whatrequires python2-libxslt > bamf-0:0.5.4-2.fc31.1.src > beaker-0:26.5-1.fc31.src > beaker-client-0:26.5-1.fc31.noarch Indeed, I forgot to check this. We could do this only in Fedora 32 (and unpush the Fedora 31 package)? We have to do this eventually however unless someone fixes the upstream Python-2-only bindings. It's not a big job but someone will need to do it.
Looping in bamf and beaker maintainers.
libxslt-1.1.33-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c32b4908a
I just pushed a new build of Beaker that builds against Python 3. That package, if successful, will drop dependency on python*-libxslt and include, directly, python3-libxml2 instead.
Beaker packages are now clear of this dependency.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
Seems fixed in Fedora 31 and 32 (and 30, even).