Somehow PBR breaks other packages when installed by "setup.py test"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
It's not clear to me why but PBR seems to cause an odd side effect when it's installed during "python setup.py test".
I have a package that has tests_require=
File "/home/
return text_type.
TypeError: object.
Which is caused by markupsafe.
This seems to be caused by PBR, because if I already have pbr installed everything works as expected:
$ python setup.py test 2>&1 | grep test_forced_login -A1
proj.tests.
Anonymous users are forced to login ... ok
but when I remove pbr and force setup.py to install it before running the testsuite, the error appears:
$ rm -r .eggs/pbr-
$ python setup.py test
...
proj.tests.
Anonymous users are forced to login ... ERROR
...
backlash: DEBUG: Traceback (most recent call last):
File "/home/
<py:with vars="flash=
File "/home/
return self._render_
File "/home/
payload[
File "/home/
return text_type.
TypeError: object.
So far it's totally unclear to me how markupsafe.
Seems also to be related to setuptools 19.2 as dowgrading setuptools to 19.1 also solves the issue