From 62f58a3072d69eed7085a7527f1af40648d355b9 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Wed, 4 Jun 2025 23:56:50 +0200 Subject: [PATCH 1/4] Drop Python 3.10 support --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 982699723..2f26932be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -23,7 +22,7 @@ classifiers = [ "Operating System :: OS Independent", ] readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.11" keywords = [ "probability", "machine learning", From 72a7263bea4894b56a6f7c3ac6170964648f7eca Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 5 Jun 2025 00:06:33 +0200 Subject: [PATCH 2/4] Test on 3.11 and run `pip check` --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8fc2a8cf5..aa8756aa8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.10"] + python-version: ["3.11"] test-subset: - tests/model - tests/statespace/core/test_statespace.py @@ -55,6 +55,7 @@ jobs: run: | pip install -e ".[dev]" python --version + pip check - name: Run tests run: | python -m pytest --color=yes -vv --cov=pymc_extras --cov-append --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET From 214f30f2fc851fdb6b91aa205cd9bbf422050ed5 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 5 Jun 2025 00:09:58 +0200 Subject: [PATCH 3/4] Update pypi workflow to bump Python 3.10 -> 3.11 --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 3b8a57e61..3c5c47d4e 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Build the sdist and the wheel run: | pip install build From 23fdc61444606756fe93919f0d46b7f084f88d59 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 5 Jun 2025 12:46:57 +0200 Subject: [PATCH 4/4] Use Python 3.11 with readthedocs --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 304c31290..2b724c6f1 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,7 +5,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.10" + python: "3.11" python: install: