Bug 1738016
| Summary: | libxslt depends on Python 2 | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lumír Balhar <lbalhar> | |
| Component: | libxslt | Assignee: | Devrim Gündüz <devrim> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 32 | CC: | amigadave, awilliam, djc, igor.raits, jspaleta, mhroncok, michel, rjones, veillard | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | libxslt-1.1.33-4.fc31 libxslt-1.1.33-4.fc32 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1750660 (view as bug list) | Environment: | ||
| Last Closed: | 2020-04-15 08:25:41 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1698500, 1750660, 1750724 | |||
|
Description
Lumír Balhar
2019-08-06 12:31:29 UTC
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. 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). |