We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CIBW_ALLOW_EMPTY
--allow-empty
Would it be possible to enable the CLI flag --allow-empty via an environment variable (e.g., CIBW_ALLOW_EMPTY)?
Here's our use case:
cp313-manylinux_x86_64
CIBW_PRERELEASE_PYTHONS=1
CIBW_PRERELEASE_PYTHON
CIBW_FREETHREADED_SUPPORT
publish.yml
I'm thinking we could compute its value similarly to how CIBW_PRERELEASE_PYTHONS is handled:
CIBW_PRERELEASE_PYTHONS
cibuildwheel/cibuildwheel/options.py
Lines 523 to 525 in a4d2405
This could be integrated within options.compute_options and added to options.GlobalOptions:
options.compute_options
options.GlobalOptions
Lines 71 to 77 in a4d2405
Alternatively, CIBW_ALLOW_EMPTY could be checked directly within __main__.py:
__main__.py
cibuildwheel/cibuildwheel/__main__.py
Lines 337 to 338 in a4d2405
I'm happy to open a PR if you think a new environment variable would be appropriate for this option. Thanks!
No response
The text was updated successfully, but these errors were encountered:
Sounds good! The first implementation idea above makes the most sense to me.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
Would it be possible to enable the CLI flag
--allow-empty
via an environment variable (e.g.,CIBW_ALLOW_EMPTY
)?Here's our use case:
cp313-manylinux_x86_64
.CIBW_PRERELEASE_PYTHONS=1
but otherwise this job will not match any wheels.--allow-empty
flag, but it currently doesn't seem possible through the cibuildwheel GitHub Action.CIBW_PRERELEASE_PYTHON
andCIBW_FREETHREADED_SUPPORT
inpublish.yml
OpenAstronomy/github-actions-workflows#212)I'm thinking we could compute its value similarly to how
CIBW_PRERELEASE_PYTHONS
is handled:cibuildwheel/cibuildwheel/options.py
Lines 523 to 525 in a4d2405
This could be integrated within
options.compute_options
and added tooptions.GlobalOptions
:cibuildwheel/cibuildwheel/options.py
Lines 71 to 77 in a4d2405
Alternatively,
CIBW_ALLOW_EMPTY
could be checked directly within__main__.py
:cibuildwheel/cibuildwheel/__main__.py
Lines 337 to 338 in a4d2405
I'm happy to open a PR if you think a new environment variable would be appropriate for this option. Thanks!
Build log
No response
CI config
No response
The text was updated successfully, but these errors were encountered: