-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
CI fails with nixpkgs after pip 20.3 update #244
Comments
cc @FRidh |
I'm thinking to add an override pinning |
overrides: Pin pip to 20.2.4 to work around #244
This issue has been worked around in #248, but I'm going to keep this issue open until we have a proper fix. |
Just to pile on here, this pin causes building wheels to fail in some cases due to the generation of Lines 1875 to 1877 in 3000009
|
Piling on again, I think this is also preventing using poetry2nix and Python 3.10 for a large number of packages. |
I can confirm that removing the workaround allows |
Is this actually still a problem? The OP's repro step no longer fails. |
Ok, it does seem to reproduce when I run |
I've started bisecting this and hope to have at least a first breaking |
I wasn't able to find an exact commit after multiple hours of debugging, because the resolver itself is hidden behind flags whose name changes between commits of After hunting around the See pypa/pip#9244 and the underlying issue pypa/pip#5780. All that said, I believe we can handle git dependencies that same way we are handling path dependencies, since the nix derivation for a git dependency will already exist by the time a dependent's |
After bisecting this, I found that CI started failing with the pip 20.2.4 -> 20.3 update in NixOS/nixpkgs@b0e3728. The error is in regards to git dependencies:
For some reason pip doesn't detect the passed dependency anymore and tries to fetch it on its own. This error is reproducible with
The text was updated successfully, but these errors were encountered: