diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a9fa731..7f128f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,7 +43,6 @@ jobs: # The last listed Python version is the default. python-version: | pypy-3.9 - 3.7 3.8 3.9 3.10 @@ -157,7 +156,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.7" + python-version: "3.8" cache: pip cache-dependency-path: 'requirements/*.txt' @@ -181,7 +180,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.7" + python-version: "3.8" cache: pip cache-dependency-path: 'requirements/*.txt' diff --git a/Makefile b/Makefile index 94be70a..d18a5bb 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ sterile: clean ## remove absolutely all built artifacts rm -fr .tox coverage: clean ## generate and view HTML coverage report - tox -e py37,py312,coverage + tox -e py38,py312,coverage $(BROWSER)htmlcov/index.html docs: botedits ## generate Sphinx HTML documentation, including API docs diff --git a/changelog.d/20240505_065319_nedbat_py38.rst b/changelog.d/20240505_065319_nedbat_py38.rst new file mode 100644 index 0000000..5886b33 --- /dev/null +++ b/changelog.d/20240505_065319_nedbat_py38.rst @@ -0,0 +1,4 @@ +Changed +....... + +- Dropped support for Python 3.7. diff --git a/setup.cfg b/setup.cfg index 27a6be5..e56641f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,7 +15,6 @@ classifiers = License :: OSI Approved :: Apache Software License Natural Language :: English Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 diff --git a/tox.ini b/tox.ini index fbe000e..6b1f33e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,13 @@ [tox] envlist = # Run on all our Pythons: - py3{7,8,9,10,11,12}, + py3{8,9,10,11,12}, # Run with no extras on lowest and highest version: - py3{7,12}-no_extras, + py3{8,12}-no_extras, # And the rest: pypy3, coverage, docs, quality labels = - ci-tests = py3{7,8,9,10,11,12},py3{7,12}-no_extras,pypy3 + ci-tests = py3{8,9,10,11,12},py3{8,12}-no_extras,pypy3 [testenv] package = wheel @@ -29,7 +29,7 @@ commands = coverage run --debug=sys -p -m pytest -Wd {posargs} [testenv:coverage] -depends = py37,py38,py39,py310,py311,py312,pypy3 +depends = py38,py39,py310,py311,py312,pypy3 basepython = python3.12 commands = coverage combine -q