-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
pip-sync fails to run on pip >= 21.3 #1503
Comments
I have isolated this to be caused by a change introduced in |
The problem was introduced in this commit: pypa/pip@d051a00#diff-058e40cb3a9ea705f655937e48f3a053f5dc7c500b7f1b2aae76e9bd673faf64 |
There is a Draft PR with a proposed fix #1501 It was known that this issue was coming, but there isn't a mechanism to coordinate releases with |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Got this issue just recently on a fresh virtualenv install. So my workaround so far until the fix is out is to do this
or if you fancy...
Probably the most confusing issue I had so far. |
This is released as part of |
@atugushev Is there someone I should mention when the release issue is created, to give y'all a heads up? |
@pradyunsg I'd appreciate it if someone cc-ed me on the release issue. That would be enough for now. Thanks for chiming in 👍🏻 |
Hi Albert! We're running into same issues in our CI/CD. I have read the thread and seems 6.4.0 should work fine with pip 21.3? But I still get an error. Below is the traceback, you can see from it that we have pip 21.3 and pip-sync 6.4.0 installed. I would appreciate if you give some advice - maybe something is still wrong here?
|
Hello @fancydancing, Could you please provide the following info? $ python -m pip --version
$ python -m piptools --version |
For second line I get the same error as before:
I also ran
So the pip is 20.2.2, not 21.3, although when trying to upgrade it for venv, I got the message from my previous comment - pip is up to date and is 21.3. |
@fancydancing could you open a separate issue? Let's track it there, this issue is closed. |
@atugushev sure, will do, thanks! |
* chore: fixing a single comma that lint missed * fix: pip/pip-sync mismatch causing build failure https://github.com/edx/edx-platform/pull/29004 jazzband/pip-tools#1503 Co-authored-by: John Nagro <[email protected]>
We need pip-tools 6.4 to fix an error that happens when running with pip>=21.3 original issue: jazzband/pip-tools#1503 pip-tools fix: jazzband/pip-tools#1504
pip-tools <6.4.0 is incompatible with pip 21.3 See <jazzband/pip-tools#1503> for details.
pip-tools <6.4.0 is incompatible with pip 21.3 See <jazzband/pip-tools#1503> for details.
pip-tools <6.4.0 is incompatible with pip 21.3 See <jazzband/pip-tools#1503> for details.
pip-tools <6.4.0 is incompatible with pip 21.3 See <jazzband/pip-tools#1503> for details.
This might fix the issue regarding pip-sync from pip tools as mentioned here jazzband/pip-tools#1503
This might fix the issue regarding pip-sync from pip tools as mentioned here jazzband/pip-tools#1503
There was an issue with previous version of pip-tools that fails to run pip-sync with pip >= 21.3 Refs: jazzband/pip-tools#1503
There was an issue with previous version of pip-tools that fails to run pip-sync with pip >= 21.3 Refs: jazzband/pip-tools#1503
There was an issue with previous version of pip-tools that fails to run pip-sync with pip >= 21.3 Refs: jazzband/pip-tools#1503
* chore: fixing a single comma that lint missed * fix: pip/pip-sync mismatch causing build failure https://github.com/edx/edx-platform/pull/29004 jazzband/pip-tools#1503 Co-authored-by: John Nagro <[email protected]>
It seems that pip 21.3 has removed
get_installed_distributions
from_internal.utils.misc
.pip-sync
is importing this, and that is causing a catastrophic error on startup.Environment Versions
Steps to replicate
pip install -U pip
pip install pip-tools
pip-sync -h
Expected result
Help
Actual result
The text was updated successfully, but these errors were encountered: