Skip to content

Commit 0f3855c

Browse files
authored
upgrade cibuildwheel action to support Python 3.14 (#1004)
* chore: upgrade action to support Python 3.14 * chore: test Python 3.14 * fix: macos-13 no longer supported Choose MacOS runner images with native x86 and arm64 architectures, see https://github.com/actions/runner-images#available-images. * fix: include pytest from conda-forge
1 parent 20ace60 commit 0f3855c

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎.github/workflows/python-package-conda.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
branches: [ master ]
1010

1111
env:
12-
latest_python: "3.13"
13-
supported_pythons: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
12+
latest_python: "3.14"
13+
supported_pythons: '["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]'
1414
miniforge_version: "23.11.0-0"
1515
miniforge_variant: "Mambaforge"
1616

‎.github/workflows/wheels.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
21+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-15, macos-15-intel]
2222
# The 5 runners correspond to 5 architectures. Details:
2323
# https://cibuildwheel.pypa.io/en/stable/options/#archs
2424
# The runners and architectures should be automatically associated. However, in
@@ -41,7 +41,7 @@ jobs:
4141
submodules: true
4242

4343
- name: Build wheels
44-
uses: pypa/cibuildwheel@v2.23.3
44+
uses: pypa/cibuildwheel@v3.4.1
4545

4646
- uses: actions/upload-artifact@v4
4747
with:

‎ci/conda_host_env.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
name: testing
44
channels:
55
- conda-forge
6-
- defaults
76
dependencies:
87
- hdf5
98
- pip
109
- cython
11-
- pip:
12-
- "-r requirements.test.txt"
10+
- pytest

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ classifiers = [
3939
"Programming Language :: Python :: 3.11",
4040
"Programming Language :: Python :: 3.12",
4141
"Programming Language :: Python :: 3.13",
42+
"Programming Language :: Python :: 3.14",
4243
"Programming Language :: Python :: Implementation :: CPython",
4344
"Operating System :: OS Independent",
4445
"Operating System :: POSIX :: Linux",

0 commit comments

Comments
 (0)