Skip to content

Commit 138745e

Browse files
authored
Include Windows and Python 3.14 in PR wheel build matrix, fix Windows build (#4832)
1 parent 18170d6 commit 138745e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/pypi_upload.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,10 @@ jobs:
7373
github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci: build all wheels')
7474
run: |
7575
{
76-
cibuildwheel --print-build-identifiers --platform linux \
77-
| pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})'
76+
CIBW_BUILD="cp39-*" cibuildwheel --print-build-identifiers --platform linux | pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})'
77+
CIBW_BUILD="cp314-*" cibuildwheel --print-build-identifiers --platform windows | pyp 'json.dumps({"only": x, "os": "windows-latest"})'
7878
} | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix
7979
env:
80-
CIBW_BUILD: "cp39-* cp313-*"
8180
CIBW_ARCHS_LINUX: x86_64
8281
- id: set-matrix
8382
run: echo "include=$(cat /tmp/matrix)" | tee -a $GITHUB_OUTPUT
@@ -98,7 +97,7 @@ jobs:
9897
with:
9998
only: ${{ matrix.only }}
10099
env:
101-
CIBW_TEST_REQUIRES_WINDOWS: "pytest>=6.1.1,^<9.0"
100+
CIBW_TEST_REQUIRES_WINDOWS: "pytest^<9.0"
102101

103102
- name: Upload wheels as workflow artifacts
104103
uses: actions/upload-artifact@v5

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ options = { debug_level = "0" }
151151

152152
[tool.cibuildwheel]
153153
build-verbosity = 1
154-
build-frontend = "build[uv]"
155154

156155
# So these are the environments we target:
157156
# - Python: CPython 3.9+ only

0 commit comments

Comments
 (0)