"dist must be a Distribution instance" with pip 6 / setuptools >=10.0 and easy_install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Won't Fix
|
High
|
Unassigned |
Bug Description
Recently (after upgrading to pip 6.0.6, on all my python projects that use pbr running 'python setup.py install/
(pbr-
running develop
running egg_info
writing requirements to Test.egg-
writing Test.egg-
writing top-level names to Test.egg-
writing dependency_links to Test.egg-
writing pbr to Test.egg-
[pbr] Reusing existing SOURCES.txt
running build_ext
Creating /localhome/
Test 0.1.0.dev1 is already the active version in easy-install.pth
Installed /localhome/
Processing dependencies for Test==0.1.0.dev1
Searching for stevedore
Reading http://
Best match: stevedore 1.2.0
Downloading http://
Processing stevedore-
Writing /tmp/easy_
Running stevedore-
ERROR:
Traceback (most recent call last):
File "/localhome/
attrs = util.cfg_
File "/localhome/
kwargs = setup_cfg_
File "/localhome/
cmd = cls(dist)
File "/localhome/
File "/usr/lib/
raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance
I've created a minimal example project that can reproduce the problem, here (it's simply a empty project that uses pbr and depends on stevedore):
https:/
As mentioned in the README of that project, after doing some testing with various versions of setuptools, it seems like this started happening with setuptools 10.0.
Let me know if any more information is needed.
Ryan
description: | updated |
I'm not able to recreate this with pip 6.0.8. Is it still causing you trouble?