You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need something like this to build wheel for Python 3.12 for packages with C stuff that needs unreleased numpy 1.26b. Unfortunately, I don't know if it is possible from your workflow here. Please help. Thanks!
So while this works, it also un-discriminatorily pulls down numpy 1.26b for everything, not just the cp312 stuff. This also breaks all the win32 jobs because I guess this new numpy does not ship win32 wheels no more.
env: | CIBW_ENVIRONMENT: PIP_PRE=1
What is the best way to tell the workflow to only do it for certain Python version here? Or do I need a totally separate workflow just for cp312.
Alas, something isn't quite right in the if-else syntax you provided. The "else" seems to work but "then" failed to assign 1 to the variable. I get this:
Activity
ConorMacBride commentedon Aug 19, 2023
I think this should already be possible with the
envoption. Please let me know if that workspllim commentedon Aug 19, 2023
Indeed,
envworks. Thanks!pllim commentedon Aug 19, 2023
So while this works, it also un-discriminatorily pulls down numpy 1.26b for everything, not just the cp312 stuff. This also breaks all the
win32jobs because I guess this new numpy does not shipwin32wheels no more.What is the best way to tell the workflow to only do it for certain Python version here? Or do I need a totally separate workflow just for cp312.
ConorMacBride commentedon Aug 19, 2023
You could try:
A neater solution might be to configure
CIBW_BEFORE_ALL, either as an env var or in pyproject.yaml. It could call a script that sets env vars.pllim commentedon Aug 19, 2023
Alas, something isn't quite right in the if-else syntax you provided. The "else" seems to work but "then" failed to assign 1 to the variable. I get this: