From 9c462a87f8c03f79bbd66c6d514700bab9ba0598 Mon Sep 17 00:00:00 2001 From: Alexander Condello Date: Tue, 12 May 2026 10:36:42 -0700 Subject: [PATCH 1/3] Drop support for Python 3.9 --- .circleci/config.yml | 7 +++---- releasenotes/notes/drop-3.9-48c77281bc83c0d9.yaml | 3 +++ setup.cfg | 3 +-- 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 releasenotes/notes/drop-3.9-48c77281bc83c0d9.yaml diff --git a/.circleci/config.yml b/.circleci/config.yml index c3bd12a7b..a18393c00 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ commands: parameters: cibw-version: type: string - default: 3.4.0 + default: 3.4.1 steps: - run: name: run cibuildwheel @@ -297,7 +297,7 @@ workflows: - build-linux: &build matrix: parameters: - python-version: &python-versions [3.9.4, 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0] + python-version: &python-versions [3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0] - build-linux-aarch64: *build - build-sdist - build-osx: *build @@ -313,8 +313,7 @@ workflows: parameters: # test the lowest supported numpy and the latest dependencies: [oldest-supported-numpy, numpy] - # TODO: Use *python-versions once a non-rc image has been released for 3.14 - python-version: [3.9.4, 3.10.0, 3.11.0, 3.12.0, 3.13.0] + python-version: *python-versions exclude: - dependencies: oldest-supported-numpy # oldest-supported-numpy deprecated after 3.12 python-version: 3.13.0 diff --git a/releasenotes/notes/drop-3.9-48c77281bc83c0d9.yaml b/releasenotes/notes/drop-3.9-48c77281bc83c0d9.yaml new file mode 100644 index 000000000..3d7e44416 --- /dev/null +++ b/releasenotes/notes/drop-3.9-48c77281bc83c0d9.yaml @@ -0,0 +1,3 @@ +--- +upgrade: + - Drop support for Python 3.9. diff --git a/setup.cfg b/setup.cfg index ea8c84bf1..1e28f19cc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,6 @@ classifiers = Programming Language :: Cython Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 @@ -48,7 +47,7 @@ packages = dimod.serialization dimod.testing dimod.views -python_requires = >=3.9 +python_requires = >=3.10 zip_safe = False [pycodestyle] From bb73d3e603a3c5297bffd4765bdb37f8b4544edd Mon Sep 17 00:00:00 2001 From: Alexander Condello Date: Tue, 12 May 2026 11:27:44 -0700 Subject: [PATCH 2/3] Add missing 3.14 classifier --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 1e28f19cc..fb2b2d1d5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,6 +13,7 @@ classifiers = Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 + Programming Language :: Python :: 3.14 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython license = Apache 2.0 From 2860340bd76089c362255035f76193e941784c61 Mon Sep 17 00:00:00 2001 From: Alexander Condello Date: Tue, 12 May 2026 11:35:12 -0700 Subject: [PATCH 3/3] Update tests/requirements.txt dependencies --- tests/requirements.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 8a3a791c4..5505b0629 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,7 +1,6 @@ coverage[toml] - parameterized==0.7.4 - -pandas==1.1.4; python_version < '3.9' +pandas~=2.3.0; python_version < '3.14' +pandas~=3.0.0; python_version >= '3.14' networkx==2.6.3 -pymongo==3.7.1; python_version < '3.9' +pymongo~=4.17.0