diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index dc9df5c5b..c110e2a70 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -153,7 +153,6 @@ jobs: pyver: - 3.13-dev - 3.12 - - 3.7 - 3.11 - >- 3.10 diff --git a/.github/workflows/reusable-linters.yml b/.github/workflows/reusable-linters.yml index 8dbf6dc47..a72be752b 100644 --- a/.github/workflows/reusable-linters.yml +++ b/.github/workflows/reusable-linters.yml @@ -68,7 +68,7 @@ jobs: .tox/.tmp/.mypy/python-3.13/cobertura.xml, .tox/.tmp/.mypy/python-3.11/cobertura.xml, .tox/.tmp/.mypy/python-3.9/cobertura.xml, - .tox/.tmp/.mypy/python-3.7/cobertura.xml + .tox/.tmp/.mypy/python-3.8/cobertura.xml flags: >- CI-GHA, MyPy diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7bdc7816a..2db746333 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -150,18 +150,18 @@ repos: - --html-report=.tox/.tmp/.mypy/python-3.9 pass_filenames: false - id: mypy - alias: mypy-py37 - name: MyPy, for Python 3.7 + alias: mypy-py38 + name: MyPy, for Python 3.8 additional_dependencies: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - pytest < 8 - Sphinx >= 5.3.0, < 6 args: - - --python-version=3.7 - - --txt-report=.tox/.tmp/.mypy/python-3.7 - - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.7 - - --html-report=.tox/.tmp/.mypy/python-3.7 + - --python-version=3.8 + - --txt-report=.tox/.tmp/.mypy/python-3.8 + - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.8 + - --html-report=.tox/.tmp/.mypy/python-3.8 pass_filenames: false ... diff --git a/CHANGES/997.breaking.rst b/CHANGES/997.breaking.rst new file mode 100644 index 000000000..0f9ce6390 --- /dev/null +++ b/CHANGES/997.breaking.rst @@ -0,0 +1 @@ +Remove Python 3.7 support -- by :user:`bdraco`. diff --git a/requirements/pytest.txt b/requirements/pytest.txt index 194c39924..f91d80a2d 100644 --- a/requirements/pytest.txt +++ b/requirements/pytest.txt @@ -1,3 +1,2 @@ -pytest==7.4.4; python_version < "3.8" pytest==8.1.1; python_version >= "3.8" pytest-cov==4.1.0 diff --git a/setup.cfg b/setup.cfg index a37ebfef5..60d49601a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,6 @@ classifiers = 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 @@ -42,7 +41,7 @@ classifiers = Programming Language :: Python :: 3.12 [options] -python_requires = >= 3.7 +python_requires = >= 3.8 install_requires = typing-extensions >= 4.1.0; python_version < '3.11' packages =