Red Hat Bugzilla – Bug 842843
Remove PyXML dep, add lxml
Last modified: 2012-08-05 18:50:04 EDT
Created attachment 600143 [details]
Remove pyxml prettyprint use
Description of problem:
We're looking into getting rid of PyXML in Fedora 18 as it's dead upstream, suffers unfixed bugs, and has the dubious behaviour of overwriting the python stdlib's xml module with its own code: https://bugzilla.redhat.com/show_bug.cgi?id=795875
Reviewing xen's use of PyXML, I have the following recommendations:
* It looks like upstream xen actively ported away from PyXML to lxml. If that's complete the fedora package just has old deps that need to be updated:
- Requires: PyXML
+ Requires: python-lxml
Adding Requires: python-lxml needs to be done whether or not the PyXML Requires can be removed right away.
Reviewing the code, I also found one place that's still using a PyXML module. xm create with certain options can attempt to use PyXML to PrettyPrint its output. I'll attach a patch to trivially fix this to use stdlib functionality instead.
Version-Release number of selected component (if applicable):
xen-4.1.2-24.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xen-4.1.2-24.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
xen-4.1.2-24.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.