Skip to content

Commit

Permalink
improve cibuildwheel tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Sep 19, 2024
1 parent a7e0e76 commit e66e868
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,13 @@ jobs:
fail-fast: false
matrix:
arch: [auto32, auto64, ARM64]
python_tag: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp39-*", "pp310-*"]
exclude:
# PyPy only supports x86_64 on Windows
- arch: auto32
python_tag: "pp39-*"
- arch: auto32
python_tag: "pp310-*"
- arch: ARM64
python_tag: "pp39-*"
- arch: ARM64
python_tag: "pp310-*"

env:
CIBW_BUILD: ${{matrix.python_tag}}
CIBW_ARCHS: ${{matrix.arch}}
CIBW_TEST_SKIP: "*-win32"
CIBW_TEST_REQUIRES: pytest hypothesis
CIBW_TEST_COMMAND: pytest {package}/tests
CIBW_BUILD_VERBOSITY: 3
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"

steps:
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -107,15 +96,14 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [x86_64, arm64, universal2]
python_tag: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp39-*", "pp310-*"]
os: [macos-13, macos-14]
env:
CIBW_BUILD: ${{matrix.python_tag}}
CIBW_ARCHS: ${{matrix.arch}}
CIBW_TEST_SKIP: "*-macosx_{arm64,universal2}"
CIBW_ARCHS: native
CIBW_TEST_SKIP: "pp*-macosx_*"
CIBW_TEST_REQUIRES: pytest hypothesis
CIBW_TEST_COMMAND: pytest {package}/tests
CIBW_BUILD_VERBOSITY: 3
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"

steps:
- uses: actions/download-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### v0.26.0
#### Changed
- add support for Python 3.13
- drop support for Python 3.8
- switch build system to `scikit-build-core`

### v0.25.1
Expand Down

0 comments on commit e66e868

Please sign in to comment.