Skip to content

Commit aa5d1a0

Browse files
authored
Enable builds for Python 3.14 (#2266)
1 parent 461ddf3 commit aa5d1a0

4 files changed

Lines changed: 20 additions & 36 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- [macos-15-intel, macosx_x86_64]
3535
- [macos-26, macosx_arm64]
3636
- [windows-2022, win_amd64]
37-
python: ["cp39", "cp310", "cp311", "cp312", "cp313"]
37+
python: ["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
3838

3939
steps:
4040
- uses: actions/checkout@v4
@@ -47,7 +47,7 @@ jobs:
4747
brew install automake pkg-config ninja llvm
4848
4949
- name: Build wheels
50-
uses: pypa/cibuildwheel@v2.23.3
50+
uses: pypa/cibuildwheel@v3.2.1
5151
env:
5252
CIBW_ENVIRONMENT:
5353
CI_WHEEL_BUILD=1
@@ -114,7 +114,7 @@ jobs:
114114
- windows-2022
115115
- ubuntu-22.04
116116
- ubuntu-24.04-arm
117-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
117+
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
118118
runs-on: ${{ matrix.os }}
119119
env:
120120
CI_WHEEL_BUILD: 0

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- macos-15-intel
3131
- macos-26
3232
- windows-latest
33-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
33+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
3434
fail-fast: false
3535
env:
3636
MACOSX_DEPLOYMENT_TARGET: "11"

.github/workflows/daily-test-build-numpy.yml

Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,18 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [ubuntu-latest, macos-15-intel, macos-26, windows-latest]
25-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
26-
numpy-version: ["1.25.2", "1.26.4", "2.0.2", "2.2.1"]
27-
exclude:
28-
- python-version: "3.9"
29-
numpy-version: "1.26.4"
30-
- python-version: "3.9"
31-
numpy-version: "2.2.1"
32-
33-
- python-version: "3.10"
34-
numpy-version: "1.26.4"
35-
- python-version: "3.10"
36-
numpy-version: "2.0.2"
37-
38-
- python-version: "3.11"
39-
numpy-version: "1.26.4"
40-
- python-version: "3.11"
41-
numpy-version: "2.0.2"
42-
43-
- python-version: "3.12"
44-
numpy-version: "1.25.2"
45-
- python-version: "3.12"
46-
numpy-version: "2.0.2"
47-
48-
- python-version: "3.13"
49-
numpy-version: "1.25.2"
50-
- python-version: "3.13"
51-
numpy-version: "1.26.4"
52-
- python-version: "3.13"
53-
numpy-version: "2.0.2"
25+
py_np_combo:
26+
- { python-version: "3.9", numpy-version: "1.25.2" }
27+
- { python-version: "3.9", numpy-version: "2.0.2" }
28+
- { python-version: "3.10", numpy-version: "1.25.2" }
29+
- { python-version: "3.10", numpy-version: "2.2.6" }
30+
- { python-version: "3.11", numpy-version: "1.25.2" }
31+
- { python-version: "3.11", numpy-version: "2.3.4" }
32+
- { python-version: "3.12", numpy-version: "1.26.4" }
33+
- { python-version: "3.12", numpy-version: "2.3.4" }
34+
- { python-version: "3.13", numpy-version: "2.1.3" }
35+
- { python-version: "3.13", numpy-version: "2.3.4" }
36+
- { python-version: "3.14", numpy-version: "2.3.4" }
5437
fail-fast: false
5538
env:
5639
TILEDB_VERSION: ${{ inputs.libtiledb_version }}
@@ -81,10 +64,10 @@ jobs:
8164
run: export CMAKE_GENERATOR="Ninja"
8265
if: startsWith(matrix.os, 'windows')
8366

84-
- name: Set up Python ${{ matrix.python-version }}
67+
- name: Set up Python ${{ matrix.py_np_combo.python-version }}
8568
uses: actions/setup-python@v5
8669
with:
87-
python-version: ${{ matrix.python-version }}
70+
python-version: ${{ matrix.py_np_combo.python-version }}
8871

8972
- name: Print Python version
9073
run: |
@@ -103,7 +86,7 @@ jobs:
10386

10487
- name: Install Numpy
10588
run: |
106-
pip install numpy==${{ matrix.numpy-version }}
89+
pip install numpy==${{ matrix.py_np_combo.numpy-version }}
10790
10891
- name: Print installed Python dependencies
10992
run: pip list

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ classifiers=[
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
3737
"Programming Language :: Python :: 3.13",
38+
"Programming Language :: Python :: 3.14",
3839
]
3940
dependencies = [
4041
"numpy>=1.25",

0 commit comments

Comments
 (0)