Skip to content

Commit

Permalink
dropped support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 5, 2024
1 parent 9eaf15f commit 56b5a7a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'

Expand All @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions changelog.d/20240505_065319_nedbat_py38.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Changed
.......

- Dropped support for Python 3.7.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 56b5a7a

Please sign in to comment.