Open dhirschfeld opened 1 week ago
I naively added a constraint in the
pixi.toml
:
What you did should work, so that's probably an issue with a cached/non-empty build directory or some such thing.
More importantly though, the wheel produced by pixi run wheel
aren't meant to be portable to other environments/machines, so it's unlikely that you actually need this kind of wheel. If that's what you want, it needs an auditwheel
(or delocate
or delvewheel
) invocation in the command for the wheel
pixi task.
What you did should work, so that's probably an issue with a cached/non-empty build directory or some such thing.
I did a git clean -xfd
in both pixi-dev-scipystack
and pixi-dev-scipystack/scipy/scipy
and it still failed with the crypt.h
error. I would've assumed a missing dependency. Does a 3.10 build work for you with pixi-dev-scipystack
?
Yes, that works fine. I've tested both 3.10.0 and 3.10.14, all good. I was thinking perhaps you got 3.10.0, and the correct constraint is one of 3.10.*
or >=3.10,<3.11
- you can check with pixi ls python
. Either way it all works for me.
Thanks - it's good to know that it should work! Now I just need to figure out what I'm doing wrong... 😬
pixi run wheel
builds a Python 3.12 wheel no problems. I need a Python 3.10 wheel though. How can I specify the Python version to build for?I naively added a constraint in the
pixi.toml
:...but that gave an error about a missing header file:
How can a build for a specific Python version?