Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285482 - dev-python/lxml should depend on dev-python/beautifulsoup
Summary: dev-python/lxml should depend on dev-python/beautifulsoup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 16:28 UTC by regomodo
Modified: 2009-10-30 21:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description regomodo 2009-09-18 16:28:34 UTC
With dev-python/lxml-2.2.1 installed an "import lxml.html.soupparser" causes an exception. 

This is because the module loaded contains

"from BeautifulSoup import \
     BeautifulSoup, Tag, Comment, ProcessingInstruction, NavigableString"

Once dev-python/beautifulsoup is installed, the "import" functions fine.

There is no "soup" USE flag in the lxml ebuild.

Reproducible: Always

Steps to Reproduce:
1.Ensure dev-python/beautifulsoup is installed
2.Install dev-python/lxml
3.Within python run "import lxml.html.soupparser"

Actual Results:  
A python exception to the import

Expected Results:  
The module is imported
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-18 16:38:09 UTC
dev-python/beautifulsoup has keywords on smaller number of architectures than dev-python/lxml, so we should fix this bug probably during committing addition of dev-python/lxml-2.2.3.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-30 21:13:15 UTC
Fixed in dev-python/lxml-2.2.3.