Skip to content

Commit

Permalink
Merge pull request #145 from arcondello/Python3.13
Browse files Browse the repository at this point in the history
Support Python 3.13
  • Loading branch information
arcondello authored Oct 2, 2024
2 parents 7bf3f09 + 33f4c35 commit 807346c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands:
parameters:
cibw-version:
type: string
default: 2.16.2
default: 2.20.0
steps:
- run:
name: run cibuildwheel
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
type: string

macos:
xcode: 15.3.0
xcode: 16.1.0
resource_class: macos.m1.medium.gen1

environment:
Expand Down Expand Up @@ -308,7 +308,7 @@ workflows:
- build-and-test-linux: &build
matrix:
parameters:
python-version: &python-versions [3.8.9, 3.9.4, 3.10.0, 3.11.0, 3.12.0]
python-version: &python-versions [3.8.9, 3.9.4, 3.10.0, 3.11.0, 3.12.0, 3.13.0]
- build-and-test-linux-aarch64: *build
- build-sdist
- build-and-test-osx: &build-and-test-osx
Expand All @@ -331,6 +331,12 @@ workflows:
exclude:
- dependency-versions: dimod==0.12.6 oldest-supported-numpy # dimod 0.12.6 does not support Python 3.12
python-version: 3.12.0

# there is no 3.13.0-slim docker image yet, so skip these for now
- dependency-versions: dimod==0.12.6 oldest-supported-numpy
python-version: 3.13.0
- dependency-versions: dimod numpy
python-version: 3.13.0
- test-linux-cpp11
- test-sdist:
requires:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [
"setuptools>=46.4.0",
"wheel>=0.30.0",
"Cython~=3.0",
"dimod==0.12.16",
"dimod==0.12.17",
]
build-backend = "setuptools.build_meta"

Expand Down
3 changes: 3 additions & 0 deletions releasenotes/notes/Python3.13-8db1d1c6ed3436f3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
features:
- Support Python 3.13.
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
dimod==0.12.16
Cython==3.0.10
oldest-supported-numpy
dimod==0.12.17
oldest-supported-numpy; python_version < '3.13'
numpy==2.1.0; python_version >= '3.13'

# build
Cython==3.0.10
wheel>=0.30.0
setuptools>=56.2.0

Expand Down
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
[metadata]
classifiers =
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
license = Apache 2.0
long_description = file: README.rst
long_description_content_type = text/x-rst
Expand Down

0 comments on commit 807346c

Please sign in to comment.