From 084766f5141a282f4f380232c5d66f85acfe4f00 Mon Sep 17 00:00:00 2001 From: Ashley Scillitoe Date: Thu, 6 Jul 2023 15:33:32 +0100 Subject: [PATCH] Drop Python 3.7 --- .github/workflows/ci.yml | 2 +- .github/workflows/test_all_notebooks.yml | 2 +- .github/workflows/test_changed_notebooks.yml | 2 +- setup.py | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbf275544..8fa25bde0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: [ '3.8', '3.9', '3.10', '3.11'] include: # Run macos and windows tests on only one python version - os: windows-latest python-version: '3.9' # PyTorch doesn't yet have 3.10 support on Windows (https://pytorch.org/get-started/locally/#windows-python) diff --git a/.github/workflows/test_all_notebooks.yml b/.github/workflows/test_all_notebooks.yml index 790570712..c2bb6c7d3 100644 --- a/.github/workflows/test_all_notebooks.yml +++ b/.github/workflows/test_all_notebooks.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false # Continue to run other builds despite a failure matrix: os: [ ubuntu-latest ] - python-version: [ '3.7', '3.8', '3.9', '3.10' ] + python-version: [ '3.8', '3.9', '3.10' ] include: # Run macos and windows tests on only one python version - os: windows-latest python-version: '3.9' # PyTorch doesn't yet have 3.10 support on Windows (https://pytorch.org/get-started/locally/#windows-python) diff --git a/.github/workflows/test_changed_notebooks.yml b/.github/workflows/test_changed_notebooks.yml index bc5879545..1a41f501d 100644 --- a/.github/workflows/test_changed_notebooks.yml +++ b/.github/workflows/test_changed_notebooks.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ '3.7', '3.8', '3.9', '3.10' ] + python-version: [ '3.8', '3.9', '3.10' ] include: # Run macos and windows tests on only one python version - os: windows-latest python-version: '3.9' # PyTorch doesn't yet have 3.10 support on Windows (https://pytorch.org/get-started/locally/#windows-python) diff --git a/setup.py b/setup.py index ea2e43a89..160f5c879 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def readme(): license="Apache 2.0", packages=find_packages(), include_package_data=True, - python_requires=">=3.7", + python_requires=">=3.8", # lower bounds based on Debian Stable versions where available install_requires=[ "matplotlib>=3.0.0, <4.0.0", @@ -74,7 +74,6 @@ def readme(): "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",