Skip to content

Commit e66e868

Browse files
committed
improve cibuildwheel tasks
1 parent a7e0e76 commit e66e868

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

.github/workflows/pythonbuild.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,13 @@ jobs:
5858
fail-fast: false
5959
matrix:
6060
arch: [auto32, auto64, ARM64]
61-
python_tag: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp39-*", "pp310-*"]
62-
exclude:
63-
# PyPy only supports x86_64 on Windows
64-
- arch: auto32
65-
python_tag: "pp39-*"
66-
- arch: auto32
67-
python_tag: "pp310-*"
68-
- arch: ARM64
69-
python_tag: "pp39-*"
70-
- arch: ARM64
71-
python_tag: "pp310-*"
72-
7361
env:
74-
CIBW_BUILD: ${{matrix.python_tag}}
7562
CIBW_ARCHS: ${{matrix.arch}}
63+
CIBW_TEST_SKIP: "*-win32"
7664
CIBW_TEST_REQUIRES: pytest hypothesis
7765
CIBW_TEST_COMMAND: pytest {package}/tests
7866
CIBW_BUILD_VERBOSITY: 3
67+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
7968

8069
steps:
8170
- uses: actions/download-artifact@v4
@@ -107,15 +96,14 @@ jobs:
10796
strategy:
10897
fail-fast: false
10998
matrix:
110-
arch: [x86_64, arm64, universal2]
111-
python_tag: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp39-*", "pp310-*"]
99+
os: [macos-13, macos-14]
112100
env:
113-
CIBW_BUILD: ${{matrix.python_tag}}
114-
CIBW_ARCHS: ${{matrix.arch}}
115-
CIBW_TEST_SKIP: "*-macosx_{arm64,universal2}"
101+
CIBW_ARCHS: native
102+
CIBW_TEST_SKIP: "pp*-macosx_*"
116103
CIBW_TEST_REQUIRES: pytest hypothesis
117104
CIBW_TEST_COMMAND: pytest {package}/tests
118105
CIBW_BUILD_VERBOSITY: 3
106+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
119107

120108
steps:
121109
- uses: actions/download-artifact@v4

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### v0.26.0
44
#### Changed
55
- add support for Python 3.13
6+
- drop support for Python 3.8
67
- switch build system to `scikit-build-core`
78

89
### v0.25.1

0 commit comments

Comments
 (0)