buildout claims to have worked but testrunner cannot import lazr.uri (a dependency)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restfulclient |
Triaged
|
High
|
Unassigned |
Bug Description
After running:
$ python bootstrap.py
$ ./bin/buildout
Then running the tests fails with:
$ ./bin/test
Test-module import failures:
Module: lazr.restfulcli
ImportError: No module named uri
Running zope.testrunner
Set up zope.testrunner
Ran 16 tests with 0 failures and 0 errors in 0.002 seconds.
Tearing down left over layers:
Tear down zope.testrunner
Test-modules with import problems:
lazr.
This appears to be because lazr.uri does not import:
$ ./bin/py
Python 2.7.2+ (default, Aug 16 2011, 07:24:41)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lazr.uri
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named uri
>>>
Changed in lazr.restfulclient: | |
status: | New → Triaged |
importance: | Undecided → Low |
Investigation shows that lazr.uri isn't listed as a dependency in setup.py, and that even when you do add it, it won't import, probably due to Python namespace issues.
Note that lazr.uri is installed on my system as an Ubuntu package at exactly the same version that versions.cfg requests.