From fe00fbbfde810d7b9f980b223bccf39b6e76936f Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 2 May 2025 22:13:26 -0700 Subject: [PATCH] Bump minimum Python version to 3.9 --- .github/workflows/test.yml | 21 --------------------- setup.py | 7 ++----- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be5947807..ee9bb0db2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,27 +48,6 @@ jobs: with-opt-deps: true runs-on: ubuntu-22.04 - - python-version: "3.8" - with-opt-deps: true - runs-on: ubuntu-22.04 - - - python-version: "3.7" - with-opt-deps: true - runs-on: ubuntu-22.04 - - python-version: "3.7" - with-opt-deps: false - runs-on: ubuntu-22.04 - - python-version: "pypy-3.7" - with-opt-deps: false - runs-on: ubuntu-22.04 - - - python-version: "3.6" - with-opt-deps: false - runs-on: ubuntu-20.04 - - python-version: "pypy-3.6" - with-opt-deps: false - runs-on: ubuntu-20.04 - steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 888cde1ef..1a8020df3 100644 --- a/setup.py +++ b/setup.py @@ -107,8 +107,8 @@ if version: fd.write(' pass\n') fd.close() -if sys.version_info < (3, 6, 0): - sys.stderr.write("Limnoria requires Python 3.6 or newer.") +if sys.version_info < (3, 9, 0): + sys.stderr.write("Limnoria requires Python 3.9 or newer.") sys.stderr.write(os.linesep) sys.exit(-1) @@ -201,9 +201,6 @@ setup( 'Operating System :: OS Independent', 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', - 'Programming Language :: Python :: 3.6', - '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',