Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: After stable update of python-lxml, pyquery looks to be not compatible with this version. Is there any chance to update pyquery to fix this problem? Version-Release number of selected component (if applicable): python-pyquery-0.6.1-5.fc18.noarch python-lxml-3.2.1-1.fc18.x86_64 How reproducible: always Steps to Reproduce: 1. python 2. import pyquery Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/pyquery/__init__.py", line 12, in <module> from ajax import PyQuery File "/usr/lib/python2.7/site-packages/pyquery/ajax.py", line 3, in <module> from pyquery import PyQuery as Base File "/usr/lib/python2.7/site-packages/pyquery/pyquery.py", line 6, in <module> from cssselectpatch import selector_to_xpath File "/usr/lib/python2.7/site-packages/pyquery/cssselectpatch.py", line 6, in <module> from lxml.cssselect import Pseudo, XPathExpr, XPathExprOr, Function, css_to_xpath, Element ImportError: cannot import name Pseudo
Looks like pyquery-1.2.4 is compatible. Can you build it for fedora? Even if this version looks to be not 100% backward compatible, it at least runs.
*** This bug has been marked as a duplicate of bug 980856 ***