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
python's pip downloads prebuilt binaries that don't work #142383
Comments
This patch may be removed if NixOS/nixpkgs#142383 and a similar change to guix is actioned.
I marked this as stale due to inactivity. → More info |
Can this be un-stale? it's a real bummer. |
For Is there a better workaround for this issue? |
@heitorPB agreed. I've found that in this case adding the following to my
But it seems like it would be much better to somehow get it to use |
Oh, that's a neat trick @MatrixManAtYrService! I will copy that =p I had the exact same issue (astral-sh/ruff#1699). |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/is-there-a-bsd-equivalent-of-coretools/27257/6 |
Describe the bug
The
python
pip
utility installs python packages. These can include binary packages. By default where possible these binaries are fetched from a cache provoking the familiar NixOS issues with downloaded binaries.A fairly easy way to address this would be to make
pip
default to--no-binaries :all:
Steps To Reproduce
Steps to reproduce the behaviour, using
ninja
as an example:Expected behaviour
ninja
should install and work normally. Running the same commands, but adding--no-binary :all:
to thepip install
command line builds the binaries locally and the result works, as seenAdditional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: