From 1014aef77f2ed1dfb4a48ca4e910c9801882e0b9 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 16 Jun 2025 09:11:02 +0200 Subject: [PATCH 1/6] Revert "Update pypi workflow to bump Python 3.10 -> 3.11" This reverts commit 214f30f2fc851fdb6b91aa205cd9bbf422050ed5. --- .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 3c5c47d4e..3b8a57e61 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.11" + python-version: "3.10" - name: Build the sdist and the wheel run: | pip install build From f06c2260aa9ed7d2142716264e8de53c2f32335f Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 16 Jun 2025 09:11:11 +0200 Subject: [PATCH 2/6] Revert "Test on 3.11 and run `pip check`" This reverts commit 72a7263bea4894b56a6f7c3ac6170964648f7eca. --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa8756aa8..8fc2a8cf5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.11"] + python-version: ["3.10"] test-subset: - tests/model - tests/statespace/core/test_statespace.py @@ -55,7 +55,6 @@ 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 d24691d2eb186dfb750e5fa82c8a0c7c28d639d9 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 16 Jun 2025 09:11:18 +0200 Subject: [PATCH 3/6] Revert "Drop Python 3.10 support" This reverts commit 62f58a3072d69eed7085a7527f1af40648d355b9. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c71183cd3..6b60e54bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ 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", @@ -22,7 +23,7 @@ classifiers = [ "Operating System :: OS Independent", ] readme = "README.md" -requires-python = ">=3.11" +requires-python = ">=3.10" keywords = [ "probability", "machine learning", From 8c2fd3cb0b9d0813123fa989a45609236f9a1f36 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 16 Jun 2025 10:48:07 +0200 Subject: [PATCH 4/6] Remove preliz from test environment --- conda-envs/environment-test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/conda-envs/environment-test.yml b/conda-envs/environment-test.yml index c8ff7f206..223ae020d 100644 --- a/conda-envs/environment-test.yml +++ b/conda-envs/environment-test.yml @@ -13,7 +13,6 @@ dependencies: - pytest - pytest-cov - pydantic>=2.0.0 - - preliz - pip - pip: - jax From 0a01b33b9bbb204bf0ede7222838ef3b018874b0 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 16 Jun 2025 15:29:41 +0200 Subject: [PATCH 5/6] Run pip check --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8fc2a8cf5..6736bfafe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 623839b501131d3f25847542fcf3db3df1caef19 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 16 Jun 2025 17:21:52 +0200 Subject: [PATCH 6/6] Add lower bound on preliz --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6b60e54bd..16d134b6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ dev = [ "dask[all]<2025.1.1", "blackjax", "statsmodels", - "preliz", + "preliz>=0.5.0", ] docs = [ "nbsphinx>=0.4.2",