existing dependency on elementree at python level
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wadllib |
Fix Released
|
High
|
Unassigned | ||
python-wadllib (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact: Python code using pkg_resources where the code uses wadllib (or
launchpadlib) will spuriosly fail, causing problems in other packages.
Development fix: cjwatson is fixing as part of his Python 3 port.
Stable fix: drop the requirement from the requires.txt, as it is not doing anything
and only breaking code. elementtree is merged in to Python as of 2.6, and having
then entry won't change what is installed on Ubuntu.
Test case:
1. Install python-wadllib from lucid.
2. Check that "elementtree" is listed in /usr/share/
3. Install python-wadllib from lucid-proposed
4. Check that "elementtree" is no-longer listed in /usr/share/
Regression potential: very low, as the line was redundant.
Binary package hint: python-wadllib
With the python-wadllib in maverick installed, the following code fails:
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pkg_resources import require
>>> require("wadllib")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
>>>
It is because `/usr/share/
Related branches
- Martin Packman (community): Approve
-
Diff: 564 lines (+148/-87)6 files modified.bzrignore (+1/-0)
README.txt (+2/-0)
setup.py (+24/-11)
src/wadllib/README.txt (+79/-64)
src/wadllib/__init__.py (+12/-0)
src/wadllib/application.py (+30/-12)
Changed in wadllib: | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Fixed in 1.1.8+ds-1