Red Hat Bugzilla – Bug 844535
Upgrade python-ZSI to remove the PyXML dep
Last modified: 2013-01-11 14:50:24 EST
Description of problem:
For Fedora 18 we're looking to remove PyXML from the distribution https://fedoraproject.org/wiki/User:Toshio/Remove_PyXML
The reason is that PyXML has been dead upstream for a long time and the python stdlibrary has the dubious behaviour of replacing its xml module with the code in the PyXML package if PyXML is installed. The combination of these two can break other libraries and applications that depend on the stdlib's xml module but instead are getting the older, buggier code from PyXML.
I've taken a look at the code in python-ZSI and much of it has fallbacks to code inside of python-ZSI if PyXML is not used. However, some of the code may still fail if PyXML is not installed in the current version in Fedora (python-ZSI-2.0). The python-ZSI-2.1a1 version from upstream has completely removed the need for PyXML so it would be safe to drop the dep if we were to upgrade to that release or a snapshot of their code.
Reading upstream's mailing lists, it seems that the upstream is active in fixing bugs but they do not currently have anyone who is interested in making release tarballs. So if we want to benefit from the newer python-ZSI code we need to update to 2.1a1 or a snapshot. I've checked Debian and Gentoo and it appears that both of those distros have already updated their packages to be based on 2.1a1 so it's not unreasonable for us to move to that version or beyond.
What do you think?
Sure thing, sounds perfectly reasonable to me! I'll make a package this weekend and submit it to rawhide, sound good? (My only hesitation is that the package is listed as alpha, but it seems stable enough?)
Note that I don't use python-ZSI myself. I just checked and found that other distros are shipping packages based on the 2.1a1 version. Looking at the Debian version, they're only patching to remove shebang (#!) lines and remove the use of setuptools on install. They're shipping 2.1a1 in all of their active versions.
OK - I've made packages for rawhide and F18. Give them a try and let me know it works for you?
Looks like the package still has the Requires: PyXML dep.
(In reply to comment #4)
> Looks like the package still has the Requires: PyXML dep.
Oops, missed that. it should be removed in 2.1-3.
Appears to work in light testing :-) I don't have any code that uses this, though, so I just played around with the sample code.
Closing this as fixed in Rawhide. Thanks!