Skip to content

Commit 54007db

Browse files
committed
WHL: bump cibuildwheel to 3.1.1, start testing wheels on CPython 3.14
1 parent 184772c commit 54007db

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/wheels.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
paths:
1212
- '.github/workflows/wheels.yaml'
1313
- MANIFEST.in
14+
- pyproject.toml
1415
workflow_dispatch:
1516

1617

@@ -48,7 +49,7 @@ jobs:
4849
uses: actions/checkout@v4
4950

5051
- name: Build wheels for CPython
51-
uses: pypa/cibuildwheel@v3.0.0
52+
uses: pypa/cibuildwheel@v3.1.1
5253
with:
5354
output-dir: dist
5455
env:

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,18 @@ exclude = "(test_*|lodgeit)"
459459

460460
[tool.cibuildwheel]
461461
build-verbosity = 1
462+
skip = ["cp314t-*"]
462463
test-skip = "*-musllinux*"
463464
test-extras = "test"
464465
test-command = [
465466
"python -m pytest -c {project}/pyproject.toml --rootdir . --color=yes --pyargs yt -ra",
466467
]
468+
469+
[[tool.cibuildwheel.overrides]]
470+
# Install nightly wheels for matplotlib, not yet available on PyPI.
471+
select = "cp314*"
472+
before-test = [
473+
# numpy and contourpy, both dependencies to matplotlib, can safely be installed from PyPI
474+
"python -m pip install numpy contourpy",
475+
"python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple matplotlib --only-binary matplotlib",
476+
]

0 commit comments

Comments
 (0)