-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opscode & openstack distribute upgrade issues #1033
Comments
Just checking in as the Opscode guy that tracks Python stuffs, also @cwjohnston as our initial reporter. |
ok, looking at this now |
The other option we have may be to stop using distribute when setting up the virtualenv: https://review.openstack.org/35905 I think for that to work we also need to have everyone update to the latest tox. |
to approximate the opscode scenario, I did the following w/o a problem, so there must be more to the story? what should I do different?
the result (with some edits for brevity) is what I would expect and want.
the purpose of distribute-0.7.3 is just to depend on setuptools, and get it installed. |
@dhellmann, I looked at the console output I think I see what's happening, and this may be the opscode issue as well if I was recreating their situation better. pip builds an install list that ends up including distribute-0.7.3 and setuptools-0.8 (like we want), but they are separated by other dependencies in the list, and in between there is no usable setuptools installed. When I considered upgrades with Jason (setuptools maintainer), I was worried mostly about the case of a user using an older pip to intentionally upgrade to setuptools/distribute in isolation. That does work. This is a case where a package upgrade is forcing the distribute upgrade (as part of a large dependency set) prior to the user intentionally doing it first in isolation. so what's the answer?
I'll look at this again this weekend and confirm my thinking, and make doc updates. cc @jaraco |
confirmed |
added a note to the changelog about this for now. |
Maybe this explanation should be part of the pip documentation, and of other documentations that use pip like the hitchhikers guide. |
it's a note in the pip-1.4 changelog ( 0e342bc), but I agree a section in our cookbook that explains the whole confusing deal would be nice. I'll put something together. the hitchhikers guide has been "replaced" by the "Python Packaging User Guide", but that's still in the works |
opened #1064 with a better title and description for this problem to make it for easiser for users to find the solution. |
To be clear, v1.4 fixes this issue, correct? |
yes, the unreleased pip-1.4 fixes this. (release tentatively set for monday) |
Fantastic, I'll start testing it out. If all goes well, I might be able to roll it out on Monday. |
The text was updated successfully, but these errors were encountered: