We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Originally reported by: msabramo (Bitbucket: msabramo, GitHub: msabramo)
Current VersionConflict error looks like this:
$ pserve development.ini
Traceback (most recent call last):
File "/Users/marca/dev/surveymonkey/profilesvc/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 573, in find_egg_entry_point
File "/Users/marca/dev/hg-repos/setuptools/pkg_resources.py", line 728, in require
needed = self.resolve(parse_requirements(requirements))
File "/Users/marca/dev/hg-repos/setuptools/pkg_resources.py", line 627, in resolve
raise VersionConflict(dist, req)
(PasteDeploy 1.3.4 (/Users/marca/dev/surveymonkey/profilesvc/lib/python2.6/site-packages),
What I'd like is to know is which package is requiring a different version of the package from what I have currently installed -- e.g.:
pkg_resources.VersionConflict: PasteDeploy 1.3.4 is installed but PasteDeploy>=1.5.0 is required by ['pyramid']
Cc: @sontek, @aconrad, @sudarkoff
The text was updated successfully, but these errors were encountered:
Original comment by msabramo (Bitbucket: msabramo, GitHub: msabramo):
Here's a PR that attempts to solve this issue:
Sorry, something went wrong.
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):
Make VersionConflict report who is requiring package
fixes issue 268
@jaraco: Did you want me to remove:
It says # XXX put more info here -- does my change provide the info you were thinking of or is there more that we could be doing?
# XXX put more info here
Hmm. I think I made that change in a commit subsequent to yours. If not, that's the thing to do. That TODO has been around a long time.
Looks like the original origin of that comment goes back to https://bitbucket.org/pypa/setuptools/commits/ba233d2c9c809d8b2d75e7036f443691c03fda20#chg-pkg_resources.py in 2005. Probably P.J. Eby?
Coolness. This seems to have debuted in the newly released setuptools 6.1 - https://pypi.python.org/pypi/setuptools/6.1#id1
This issue is implicated in #281.
No branches or pull requests