diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 01fa107a..d3ec7ba8 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -34,7 +34,7 @@ jobs: flake8 autopep8.py pycodestyle autopep8.py - name: doctest for readme - if: matrix.python-version == 3.9 + if: matrix.python-version == 3.11 run: | python -m doctest -v README.rst - name: Test with pytest @@ -48,6 +48,6 @@ jobs: python test/test_suite.py - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - if: matrix.python-version == 3.9 && success() + if: matrix.python-version == 3.11 && success() with: fail_ci_if_error: true diff --git a/README.rst b/README.rst index da66742a..addd5f36 100644 --- a/README.rst +++ b/README.rst @@ -408,7 +408,7 @@ Testing Test cases are in ``test/test_autopep8.py``. They can be run directly via ``python test/test_autopep8.py`` or via tox_. The latter is useful for testing against multiple Python interpreters. (We currently test against -CPython versions 3.7, 3.8, 3.9 and 3.10. We also test against PyPy.) +CPython versions 3.8, 3.9, 3.10, 3.11 and 3.12. We also test against PyPy.) .. _`tox`: https://pypi.org/project/tox/ diff --git a/pyproject.toml b/pyproject.toml index 6f66ca6f..ea8606e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,15 +20,15 @@ classifiers = [ "Operating System :: OS Independent", "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", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", ] -requires-python = ">=3.6" +requires-python = ">=3.8" dependencies = [ "pycodestyle >= 2.11.0", "tomli; python_version < '3.11'",