Skip to content

Commit 641b7f2

Browse files
authored
Merge pull request #1410 from arcondello/feature/Python3.14
Support Python 3.14
2 parents 30b7e16 + 8fae387 commit 641b7f2

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

.circleci/config.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,14 @@ commands:
1010
parameters:
1111
cibw-version:
1212
type: string
13-
default: 2.21.3
13+
default: 3.1.2
1414
steps:
1515
- run:
1616
name: run cibuildwheel
1717
shell: bash -eo pipefail
1818
command: |
19-
if [[ $OS == Windows_NT ]]; then
20-
python -m pip install --user cibuildwheel==<< parameters.cibw-version >>
21-
python -m cibuildwheel --output-dir dist
22-
else
23-
python3 -m pip install --user cibuildwheel==<< parameters.cibw-version >>
24-
python3 -m cibuildwheel --output-dir dist
25-
fi
19+
python -m pip install --user cibuildwheel==<< parameters.cibw-version >>
20+
python -m cibuildwheel --output-dir dist
2621
2722
- store_artifacts: &store-artifacts
2823
path: ./dist
@@ -77,7 +72,7 @@ jobs:
7772
type: string
7873

7974
macos:
80-
xcode: 16.1.0
75+
xcode: 16.4.0 # latest as of August 2025
8176
resource_class: macos.m1.medium.gen1
8277

8378
environment:
@@ -146,7 +141,7 @@ jobs:
146141
147142
test-airspeed-velocity:
148143
docker:
149-
- image: cimg/python:3.9
144+
- image: cimg/python:3.10
150145

151146
steps:
152147
- checkout
@@ -303,7 +298,7 @@ workflows:
303298
- build-linux: &build
304299
matrix:
305300
parameters:
306-
python-version: &python-versions [3.9.4, 3.10.0, 3.11.0, 3.12.0, 3.13.0]
301+
python-version: &python-versions [3.9.4, 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
307302
- build-linux-aarch64: *build
308303
- build-sdist
309304
- build-osx: *build
@@ -319,7 +314,8 @@ workflows:
319314
parameters:
320315
# test the lowest supported numpy and the latest
321316
dependencies: [oldest-supported-numpy, numpy]
322-
python-version: *python-versions
317+
# TODO: Use *python-versions once a non-rc image has been released for 3.14
318+
python-version: [3.9.4, 3.10.0, 3.11.0, 3.12.0, 3.13.0]
323319
exclude:
324320
- dependencies: oldest-supported-numpy # oldest-supported-numpy deprecated after 3.12
325321
python-version: 3.13.0

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
linkcheck_anchors = False
5959
linkcheck_ignore = [r'https://cloud.dwavesys.com/leap', # redirects, many checks
6060
r'https://epubs.siam.org', # ignores robots since Feb 2023
61+
r'https://paws.princeton.edu/', # also rejects robots
6162
r'.clang-format',
6263
r'setup.cfg',
6364
] # dimod RTD currently not building on boost
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
features:
3+
- Add support for Python 3.14.

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
oldest-supported-numpy; python_version < '3.13'
2-
numpy==2.1.0; python_version >= '3.13'
3-
cython==3.0.10
2+
numpy==2.3.2; python_version >= '3.13' # first that supports Python 3.14
3+
cython==3.1.2
44

55
reno==3.3.0 # for changelog
66

0 commit comments

Comments
 (0)