-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to run pip after easy_install -U pip with latest setuptools #2198
Comments
I suspect the offending behavior happened in this line of 9bb1149. In particular, removing the Although use of easy_install as an installer is discouraged, it has not yet been properly deprecated, so it's a little unfair to impose this incompatible change. It may also be the case that the presence of I can get a fix out for this later this week (or sooner if it's urgent). What is the urgency of this issue? Are you able to manually work around it for now? Can you try Have you considered not using |
Thanks for the timely response and explanation.
Non-urgent in the project I work on. This change motivated us to move migrate off We have an automated script that ran the I'm not familiar with Pypa's policies regarding deprecation, but my guess is that the urgency of this issue depends on how many users are using easy_install on a regular basis.
Running |
Glad to hear it!
In that case, I recommend using Given that the workaround is fairly straightforward and that as you revealed, easy-install is deprecated, I'm slightly inclined not to fix this issue. On the other hand, it was an unintentional regression, so I'll probably just get a fix out so we can remove it later with intent and clarity. |
Hello,
Today, I ran
easy_install -U pip
on a fresh virtualenv with setuptools 47.3.0 and running thepip
command no longer works.Repro steps (trimmed)
Actual: running
pip
results in an errorExpected: no error
Slightly longer repro steps:
https://gist.github.com/psybuzz/0c46c72e716d36ee3c492dec44680c19
From the VersionConflict error, I'm guessing that
easy_install -U pip
installed a newer version of pip (20.2b1) without removing the old one (20.1.1). Anything that requires 20.2.b1 then sees the old version actively distributed (20.1.1) and throws the error.Since this happened recently, I'm wondering whether the recent changes on June 15 to easy_install (2b4b5de and 9bb1149) might have contributed to this issue.
Sorry if this isn't the right place to ask this question, but has anyone on the setuptools side seen this error?
The text was updated successfully, but these errors were encountered: