Skip to content

Commit 0aaa6d5

Browse files
Merge pull request #5228 from neutrinoceros/whl/bump-cibw
WHL: bump cibuildwheel to 3.1.1, start testing wheels on CPython 3.14
2 parents 184772c + 0d02a77 commit 0aaa6d5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
3435
"Topic :: Scientific/Engineering :: Astronomy",
3536
"Topic :: Scientific/Engineering :: Physics",
3637
"Topic :: Scientific/Engineering :: Visualization",
@@ -459,8 +460,18 @@ exclude = "(test_*|lodgeit)"
459460

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

0 commit comments

Comments
 (0)