Bump minimum Python version to 3.9

This commit is contained in:
James Lu 2025-05-02 22:13:26 -07:00 committed by Val Lorentz
parent f0d7286bde
commit fe00fbbfde
2 changed files with 2 additions and 26 deletions

View File

@ -48,27 +48,6 @@ jobs:
with-opt-deps: true with-opt-deps: true
runs-on: ubuntu-22.04 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}

View File

@ -107,8 +107,8 @@ if version:
fd.write(' pass\n') fd.write(' pass\n')
fd.close() fd.close()
if sys.version_info < (3, 6, 0): if sys.version_info < (3, 9, 0):
sys.stderr.write("Limnoria requires Python 3.6 or newer.") sys.stderr.write("Limnoria requires Python 3.9 or newer.")
sys.stderr.write(os.linesep) sys.stderr.write(os.linesep)
sys.exit(-1) sys.exit(-1)
@ -201,9 +201,6 @@ setup(
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Operating System :: POSIX', 'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows', '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.9',
'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.11',