Remove support for Python 3.6

Github disabled their Ubuntu 20.04 runners, which means we can't test
Python 3.6 in the CI anymore.
This commit is contained in:
Valentin Lorentz 2025-04-20 08:18:38 +02:00
parent 83d301c604
commit 09dde52fe5
2 changed files with 2 additions and 10 deletions

View File

@ -62,13 +62,6 @@ jobs:
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 }}

View File

@ -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, 7, 0):
sys.stderr.write("Limnoria requires Python 3.7 or newer.")
sys.stderr.write(os.linesep)
sys.exit(-1)
@ -201,7 +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',