-
Notifications
You must be signed in to change notification settings - Fork 204
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
Problematic installation of numpy nightly wheel under python-freethreading #2732
Comments
TL;DR: use system requirements to force a [tool.pixi.system-requirements]
macos = "14.0" That is a very ugly error! I'm sorry. The problem comes down to pixi trying to solve for more than just your machine. Resulting in using mock machine being used, using the A good clue to figure this out is to check the wheel that was installed in this case, (from - pypi: https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/numpy/2.3.0.dev0/numpy-2.3.0.dev0-cp313-cp313-macosx_11_0_arm64.whl Then making sure there are other available wheels on https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/numpy - pypi: https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/numpy/2.3.0.dev0/numpy-2.3.0.dev0-cp313-cp313-macosx_14_0_arm64.whl Which does result in your test working, on my machine ™ |
Hi @ruben-arts, I think setting Here, [tool.pixi.dependencies]
python-freethreading = "*"
pip = "*" |
Ah you are right, we'll have to dive a little deeper! 🤿 |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
1. Problematic installation:
pixi update pixi run test
2. Passed installation:
Problematic installation:
pixi update pixi run nightly-numpy pixi run test
Issue description
In the latest pixi 0.39.2, I want to install numpy nightly wheel. However, I find the nightly wheel installed via
pixi.pypi-dependencies
is problematic. The error message is show below:But when I install numpy nightly wheel via
pip
, the problem is solved.✨ Pixi task (test): python -c "import numpy; print('Test passed')" Test passed
Expected behavior
I expect the numpy nightly wheel installed via
pixi.pypi-dependencies
should work properly, just like it is installed viapip
.The text was updated successfully, but these errors were encountered: