From 41eebc16185479f5012bef951256f2f18b18e66c Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 5 Jan 2023 22:22:37 -0500 Subject: [PATCH 1/2] MNT: Require Python 3.8, numpy 1.19 --- min-requirements.txt | 2 +- pyproject.toml | 6 +++--- requirements.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/min-requirements.txt b/min-requirements.txt index 8308f6e076..305f16dcbd 100644 --- a/min-requirements.txt +++ b/min-requirements.txt @@ -1,4 +1,4 @@ # Auto-generated by tools/update_requirements.py -numpy ==1.17 +numpy ==1.19 packaging ==17 setuptools diff --git a/pyproject.toml b/pyproject.toml index 934dedec95..278aa58b6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,8 @@ authors = [{ name = "NiBabel developers", email = "neuroimaging@python.org" }] maintainers = [{ name = "Christopher Markiewicz" }] readme = "README.rst" license = { text = "MIT License" } -requires-python = ">=3.7" -dependencies = ["numpy >=1.17", "packaging >=17", "setuptools"] +requires-python = ">=3.8" +dependencies = ["numpy >=1.19", "packaging >=17", "setuptools"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -18,10 +18,10 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering", ] # Version from setuptools_scm diff --git a/requirements.txt b/requirements.txt index 2c77ae1e0d..1d1e434609 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ # Auto-generated by tools/update_requirements.py -numpy >=1.17 +numpy >=1.19 packaging >=17 setuptools From c2e2feffba64353090d3afbf96c56bd467919c99 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 5 Jan 2023 22:23:40 -0500 Subject: [PATCH 2/2] CI: Stop testing 3.7 --- .github/workflows/stable.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 7cf7aaab43..0c560bcb4d 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -91,7 +91,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + python-version: [3.8, 3.9, "3.10", "3.11"] architecture: ['x64', 'x86'] install: ['pip'] check: ['test'] @@ -101,7 +101,7 @@ jobs: include: # Basic dependencies only - os: ubuntu-latest - python-version: 3.7 + python-version: 3.8 install: pip check: test pip-flags: '' @@ -109,7 +109,7 @@ jobs: optional-depends: '' # Absolute minimum dependencies - os: ubuntu-latest - python-version: 3.7 + python-version: 3.8 install: pip check: test pip-flags: '' @@ -117,7 +117,7 @@ jobs: optional-depends: '' # Absolute minimum dependencies plus old MPL, Pydicom, Pillow - os: ubuntu-latest - python-version: 3.7 + python-version: 3.8 install: pip check: test pip-flags: '' @@ -125,7 +125,7 @@ jobs: optional-depends: MIN_OPT_DEPENDS # Clean install imports only with package-declared dependencies - os: ubuntu-latest - python-version: 3.7 + python-version: 3.8 install: pip check: skiptests pip-flags: ''