Skip to content
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 broken version check with Nix #2

Open
senges opened this issue Nov 2, 2022 · 1 comment
Open

pip broken version check with Nix #2

senges opened this issue Nov 2, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@senges
Copy link
Owner

senges commented Nov 2, 2022

pip 22.2.2 is not able to properly identify pip executable location when installed on a separate directory (which is the case for Nix).
This is breaking any pip install.

This error has been patched on the newly released 23.0 version of pip.
This version is not yet available in Nix, I will probably submit a MR as this is a quite serious bug affecting Nix itself.

See further discussions in NixOS issue and pip issue I created to document this problem.

Known workaround for kitt

Disable pip version check using a custom env variable in your config file :

[[workspace.envs]]
name = "PIP_DISABLE_PIP_VERSION_CHECK"
value = "1"

.. or just run pip with --disable-pip-version-check flag.

@senges senges added the bug Something isn't working label Nov 2, 2022
@senges senges moved this to Todo in kitt short term board Nov 2, 2022
@senges senges moved this from Todo to In Progress in kitt short term board Nov 2, 2022
@senges
Copy link
Owner Author

senges commented Nov 3, 2022

pip version update is planned in NixOS/nixpkgs#198024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

1 participant