Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#17281 - [python-lxml] should have optdepends=beautiful-soup
Attached to Project:
Arch Linux
Opened by Marti (intgr) - Wednesday, 25 November 2009, 17:03 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 06 February 2010, 16:16 GMT
Opened by Marti (intgr) - Wednesday, 25 November 2009, 17:03 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 06 February 2010, 16:16 GMT
|
DetailsDescription: The lxml Python module from python-lxml provides a way to switch out its XML parser backend to the Beautiful Soup "HTML tag soup" parsing library. Trying to access this feature of lxml fails with an ImportError.
I suggest adding an optional dependency: optdepends=('beautiful-soup: support for parsing not well formed HTML') Steps to reproduce: % sudo pacman -Rn beautiful-soup % python Python 2.6.4 (r264:75706, Oct 27 2009, 06:25:13) >>> import lxml.html.soupparser Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/site-packages/lxml/html/soupparser.py", line 7, in <module> from BeautifulSoup import \ ImportError: No module named BeautifulSoup |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Saturday, 06 February 2010, 16:16 GMT
Reason for closing: Fixed
Additional comments about closing: python-lxml 2.2.4-2
Saturday, 06 February 2010, 16:16 GMT
Reason for closing: Fixed
Additional comments about closing: python-lxml 2.2.4-2
Comment by Thomas Dziedzic (tomd123) -
Saturday, 06 February 2010, 15:56 GMT
I can confirm this, patched version of the suggested fix attached.
Comment by Andrea Scarpino (BaSh) -
Saturday, 06 February 2010, 16:15 GMT
implemented, I must say to Ronald to move python-beaufiulsoup to [extra] now
optdep.patch
(0.4 KiB)