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

parse cibuildwheel configuration #37

Open
gpongelli opened this issue Jan 27, 2023 · 0 comments
Open

parse cibuildwheel configuration #37

gpongelli opened this issue Jan 27, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gpongelli
Copy link
Contributor

Recentily I've found an useful package to build python on different OS/archs: cibuildwheel.

It has CIBW_BUILD, CIBW_SKIP configurations regarding python version used to build and test the package (locally and remotely).

Those configuration can be set as environment variables into github action or into pyproject.toml file.
E.g. as environment variable:

# Build python 3.10 3.11
CIBW_BUILD: cp310-* cp11-*
# Skip CPython 3.6 and CPython 3.7
CIBW_SKIP: cp36-* cp37-*

as pyproject.toml

# Build python 3.10 3.11
build= ["cp310-*", "cp11-*"]
# Skip CPython 3.6 and CPython 3.7
skip = ["cp36-*", "cp37-*"]

when using this package, it could be useful to add the extracted information to the final list.

@mgedmin mgedmin added enhancement New feature or request help wanted Extra attention is needed labels Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants