Skip to content

parse cibuildwheel configuration #37

Description

@gpongelli

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions