From 7ce481798e22678b92b453f35114dccf68ddb42e Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Thu, 14 Mar 2024 20:56:10 +0900 Subject: [PATCH 1/4] drop support 3.6 and 3.7 --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6f66ca6f..c1a8322d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,6 @@ 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", @@ -28,7 +27,7 @@ classifiers = [ "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'", From 8d18d0a988e51ec49da2a93add084f5447483347 Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Thu, 14 Mar 2024 20:56:23 +0900 Subject: [PATCH 2/4] add py3.12 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c1a8322d..ea8606e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ classifiers = [ "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", ] From feff013a786fae99b8af73387dc54e98529ece07 Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Thu, 14 Mar 2024 21:01:17 +0900 Subject: [PATCH 3/4] use 3.11 in doctest and coverage --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 8199d74b0da0a8cd772f24de6b7dff25cd95dbd8 Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Thu, 14 Mar 2024 21:02:32 +0900 Subject: [PATCH 4/4] update --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/