From c2fb6fab576c9726286843eb07b528d83043864e Mon Sep 17 00:00:00 2001 From: Martijn Pieters Date: Wed, 25 Jan 2023 18:31:15 +0000 Subject: [PATCH] Drop support for Python 3.7 (#413) The tox environment was well behind and has been updated too. --- .github/workflows/ci.yml | 2 +- CHANGES/413.removal | 1 + setup.cfg | 3 +-- tox.ini | 13 ++++--------- 4 files changed, 7 insertions(+), 12 deletions(-) create mode 100644 CHANGES/413.removal diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37e3c7e..8bcb4ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: needs: [lint] strategy: matrix: - pyver: ['3.7', '3.8', '3.9', '3.10', '3.11'] + pyver: ['3.8', '3.9', '3.10', '3.11'] os: [ubuntu, macos, windows] fail-fast: false runs-on: ${{ matrix.os }}-latest diff --git a/CHANGES/413.removal b/CHANGES/413.removal new file mode 100644 index 0000000..b5fe823 --- /dev/null +++ b/CHANGES/413.removal @@ -0,0 +1 @@ +Dropped Python 3.7 support. diff --git a/setup.cfg b/setup.cfg index 0a09bdf..741d83b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,6 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -37,7 +36,7 @@ classifiers = Framework :: AsyncIO [options] -python_requires = >=3.7 +python_requires = >=3.8 packages = find: include_package_data = True diff --git a/tox.ini b/tox.ini index 393689e..be4b8fd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] -envlist = check, clean, {py36,py37,py38}-{debug,release}, report +envlist = check, clean, {py38,py39,py310,py311}-{debug,release}, report [testenv] @@ -19,11 +19,6 @@ commands = setenv = debug: PYTHONASYNCIODEBUG = 1 -basepython: - py36: python3.6 - py37: python3.7 - py38: python3.8 - [testenv:check] deps = @@ -37,7 +32,7 @@ commands = python setup.py check -rms basepython: - python3.7 + python3.10 [testenv:clean] @@ -48,7 +43,7 @@ commands = coverage erase basepython: - python3.7 + python3.10 [testenv:report] @@ -64,4 +59,4 @@ whitelist_externals = echo basepython: - python3.7 + python3.10