From dcb44ab74acf1c9e0125dd4f4234738be2d0a66d Mon Sep 17 00:00:00 2001 From: Martijn Pieters Date: Wed, 25 Jan 2023 23:10:41 +0000 Subject: [PATCH] Drop support for Python 3.7 --- .github/workflows/ci.yml | 2 +- .readthedocs.yml | 2 +- CHANGES/413.removal | 1 + setup.cfg | 3 +-- tox.ini | 13 +++---------- 5 files changed, 7 insertions(+), 14 deletions(-) create mode 100644 CHANGES/413.removal diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f637ceea..7708b341 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,7 @@ jobs: needs: [lint] strategy: matrix: - pyver: ['3.7', '3.8', '3.9', '3.10', '~3.11.0-0'] + pyver: ['3.8', '3.9', '3.10', '~3.11.0-0'] no-extensions: ['', 'Y'] os: [ubuntu, macos, windows] exclude: diff --git a/.readthedocs.yml b/.readthedocs.yml index 569192b8..ecfbd3bf 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,6 +4,6 @@ build: image: latest python: - version: 3.7 + version: 3.10 install: - requirements: requirements/doc.txt diff --git a/CHANGES/413.removal b/CHANGES/413.removal new file mode 100644 index 00000000..b5fe8235 --- /dev/null +++ b/CHANGES/413.removal @@ -0,0 +1 @@ +Dropped Python 3.7 support. diff --git a/setup.cfg b/setup.cfg index 89b2e785..6323839c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,6 @@ classifiers = Intended Audience :: Developers Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -32,7 +31,7 @@ classifiers = Operating System :: Microsoft :: Windows [options] -python_requires = >=3.7 +python_requires = >=3.8 packages = find: # https://setuptools.readthedocs.io/en/latest/setuptools.html#setting-the-zip-safe-flag zip_safe = False diff --git a/tox.ini b/tox.ini index 471eaf94..2ddae428 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] -envlist = check, clean, {py36,py37,py38,py39}-{cython,pure}, report +envlist = check, clean, {py38,py39,py310}-{cython,pure}, report [testenv] @@ -18,13 +18,6 @@ commands = setenv = pure: FROZENLIST_NO_EXTENSIONS = 1 -basepython: - py36: python3.6 - py37: python3.7 - py38: python3.8 - py39: python3.9 - py310: python3.10 - [testenv:check] deps = @@ -38,7 +31,7 @@ commands = python setup.py check -rms basepython: - python3.8 + python3.10 [testenv:clean] @@ -49,7 +42,7 @@ commands = coverage erase basepython: - python3.8 + python3.10 [testenv:report]