diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index dc9df5c5..8d642a8f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -134,7 +134,6 @@ jobs: *-macosx_universal2 *-musllinux_* *-win32 - *_arm64 pp*' || '' }} @@ -153,7 +152,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 8dbf6dc4..a72be752 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 d293024e..a1fb6068 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 00000000..0f9ce639 --- /dev/null +++ b/CHANGES/997.breaking.rst @@ -0,0 +1 @@ +Remove Python 3.7 support -- by :user:`bdraco`. diff --git a/requirements/doc.txt b/requirements/doc.txt index 475da0c9..0e9f9d50 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,3 +1,4 @@ +-r towncrier.txt sphinx==7.3.7 pyenchant==3.2.2 sphinxcontrib-spelling==8.0.0 diff --git a/requirements/pytest.txt b/requirements/pytest.txt index 194c3992..6813008d 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==8.3.2; python_version >= "3.8" pytest-cov==4.1.0 diff --git a/setup.cfg b/setup.cfg index a37ebfef..60d49601 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 =