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

Failing builds with pip in build environment #76

Open
1 task done
mbargull opened this issue Nov 21, 2023 · 1 comment
Open
1 task done

Failing builds with pip in build environment #76

mbargull opened this issue Nov 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mbargull
Copy link
Member

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Due to an issue with conda-libmamba-solver<->conda-build interaction, we had pip installed in the build environment for the numpy=1.26.2 update PR which caused the cross-compiled builds to fail with

Successfully built numpy-1.26.2-cp311-cp311-linux_aarch64.whl
+ pip install dist/numpy-1.26.2-cp311-cp311-linux_aarch64.whl
ERROR: numpy-1.26.2-cp311-cp311-linux_aarch64.whl is not a supported wheel on this platform.

@isuruf asked me to open an issue here too.

refs:

Installed packages

-

Environment info

-
@mbargull mbargull added the bug Something isn't working label Nov 21, 2023
@mbargull
Copy link
Member Author

From the discussion at conda-forge/numpy-feedstock#305 (comment) :
(The culprit there was calling pip executable directly.)

Would it be sensible to let it overwrite ${BUILD_PREFIX}/bin/pip too (if it exists)?

(Yes, I know about the bonkers "we explicitly give you a pip executable, but you should actually only ever use python -m pip" thing people say and I don't agree for obvious reasons.)

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
None yet
Development

No branches or pull requests

1 participant