From 15b855a4ad9fe1e9a4d24daab704c3d5a253936b Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Fri, 20 Dec 2024 16:14:04 -0800 Subject: [PATCH 1/4] Advance minimal supported python. --- .github/workflows/test.yml | 2 +- pyproject.toml | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef08e01..5b248a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.11", "3.12"] steps: - name: Checkout repo diff --git a/pyproject.toml b/pyproject.toml index f1a0c41..d3ce16f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=64", "setuptools_scm>=8"] build-backend = "setuptools.build_meta" [tool.ruff] -target-version = "py310" +target-version = "py311" [tool.ruff.lint] select = [ diff --git a/setup.cfg b/setup.cfg index d69d55e..90453e5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ version = attr: my_package.__version__ [options] setup_requires = setuptools_scm -python_requires = >=3.10 +python_requires = >=3.11 install_requires = scipy==1.13.1 dipy>=1.0.0 From 05ffc0a52f45b7eab6c74a0f6b5043e0026003eb Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Fri, 20 Dec 2024 16:17:58 -0800 Subject: [PATCH 2/4] Might need setuptools to make this work. --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 90453e5..bb01336 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,6 +31,7 @@ version = attr: my_package.__version__ [options] setup_requires = setuptools_scm + setuptools>=42 python_requires = >=3.11 install_requires = scipy==1.13.1 From e7ef3b448a59a5c11b4d8db4fac31c7bfab0210b Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Fri, 20 Dec 2024 16:18:57 -0800 Subject: [PATCH 3/4] Upgrades Python for docbuilds as well. --- .github/workflows/docbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docbuild.yml b/.github/workflows/docbuild.yml index fd0bc29..a14af07 100644 --- a/.github/workflows/docbuild.yml +++ b/.github/workflows/docbuild.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.11", "3.12"] steps: - name: Checkout repo From 2fe1fcb9e92f326d74daaeaf01f589b916a4ca16 Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Fri, 20 Dec 2024 16:25:11 -0800 Subject: [PATCH 4/4] Update to last possible non-2 numpy. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index bb01336..8be6b54 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,7 @@ install_requires = dipy>=1.0.0 matplotlib<3.9 groupyr>=0.3.4 - numpy==1.23.5 + numpy==1.26.4 pandas==2.1.4 requests seaborn==0.13.0