PBR will fail if any installed package has a bad distutils.command entry point
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Confirmed
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
1) Create a new virtualenv.
2) Install pbr.
3) Install mock with --no-binary
mock needs pbr to install, the --no-binary is to force pip to use pbr rather than installing a cached wheel.
This should work fine.
4) Uninstall mock.
5) Install obspy
obspy has a bad distutils.command entry point, and cannot build its man pages. But it installs OK.
6) Install mock with --no-binary
This will likely fail. mock needs pbr to install, but pbr no longer works because of the bad entry point registered by obspy.
Stacktrace:
Collecting mock
Using cached mock-2.0.0.tar.gz
Complete output from command python setup.py egg_info:
ERROR:
Traceback (most recent call last):
File "/build/
attrs = util.cfg_
File "/build/
File "/build/
cmdclass = ep.resolve()
File "/build/
module = __import_
ImportError: No module named Help2Man
error in setup command: Error parsing /tmp/pip-
Changed in pbr: | |
status: | New → Confirmed |
importance: | Undecided → Low |
The invalid entry point should be fixed in ObsPy 1.0.3 (https:/ /github. com/obspy/ obspy/pull/ 1532), though it would be nice if PBR didn't fail due to it.