From 9c146946a0afac7e4e04ec2a2687e693fed0ad31 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 6 Oct 2023 08:40:53 -0400 Subject: [PATCH 1/2] CI: Add 3.12 to the stable test matrix --- .github/workflows/stable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 18a30d6d0..90721bc81 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -105,7 +105,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] architecture: ['x64', 'x86'] install: ['pip'] check: ['test'] From ec10d70e4a182c60efde30929d7a0de1efc3f5bf Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 6 Oct 2023 08:52:17 -0400 Subject: [PATCH 2/2] NEP29+1y: Bump minimum numpy --- doc/source/installation.rst | 2 +- min-requirements.txt | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/installation.rst b/doc/source/installation.rst index b896d2dfc..4f747e7fe 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -84,7 +84,7 @@ Requirements .. check these against pyproject.toml * Python_ 3.8 or greater -* NumPy_ 1.19 or greater +* NumPy_ 1.20 or greater * Packaging_ 17.0 or greater * importlib-resources_ 1.3 or greater (or Python 3.9+) * SciPy_ (optional, for full SPM-ANALYZE support) diff --git a/min-requirements.txt b/min-requirements.txt index e30bc40a2..1cdd78bb7 100644 --- a/min-requirements.txt +++ b/min-requirements.txt @@ -1,4 +1,4 @@ # Auto-generated by tools/update_requirements.py -numpy ==1.19 +numpy ==1.20 packaging ==17 importlib_resources ==1.3; python_version < '3.9' diff --git a/pyproject.toml b/pyproject.toml index 1dbc13b43..d399ca7d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ readme = "README.rst" license = { text = "MIT License" } requires-python = ">=3.8" dependencies = [ - "numpy >=1.19", + "numpy >=1.20", "packaging >=17", "importlib_resources >=1.3; python_version < '3.9'", ] diff --git a/requirements.txt b/requirements.txt index a74639cf8..f74ccc085 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ # Auto-generated by tools/update_requirements.py -numpy >=1.19 +numpy >=1.20 packaging >=17 importlib_resources >=1.3; python_version < '3.9'