From b94ed12351efe3e32e5079812401f9eda822df60 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Thu, 8 Oct 2026 15:38:39 -0400 Subject: [PATCH] py311+ --- .github/workflows/main.yml | 4 ++-- .pre-commit-config.yaml | 4 ++-- docs/source/release-notes/7.4.0.rst | 2 +- setup.cfg | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd999856..2c3bf889 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,12 +10,12 @@ jobs: main-windows: uses: asottile/workflows/.github/workflows/tox.yml@v1.11.1 with: - env: '["py310"]' + env: '["py311"]' os: windows-latest main-linux: uses: asottile/workflows/.github/workflows/tox.yml@v1.11.1 with: - env: '["pypy3", "py310", "py311", "py312", "py313", "py314", "py315"]' + env: '["pypy3", "py311", "py312", "py313", "py314", "py315"]' os: ubuntu-latest main-other: uses: asottile/workflows/.github/workflows/tox.yml@v1.11.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fccb89eb..5269b9d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,14 +21,14 @@ repos: - id: reorder-python-imports args: [ --application-directories, '.:src', - --py310-plus, + --py311-plus, --add-import, 'from __future__ import annotations', ] - repo: https://github.com/asottile/pyupgrade rev: v3.21.2 hooks: - id: pyupgrade - args: [--py310-plus] + args: [--py311-plus] - repo: https://github.com/hhatto/autopep8 rev: v2.3.2 hooks: diff --git a/docs/source/release-notes/7.4.0.rst b/docs/source/release-notes/7.4.0.rst index f8c3a71d..c5da4438 100644 --- a/docs/source/release-notes/7.4.0.rst +++ b/docs/source/release-notes/7.4.0.rst @@ -6,7 +6,7 @@ You can view the `7.4.0 milestone`_ on GitHub for more details. New Dependency Information ~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Drop support for python 3.10 (See also :pull:`2001`). +- Drop support for python 3.9 (See also :pull:`2001`). - pycodestyle has been updated to >= 2.15.0, < 2.16.0 (See also :pull:`2053`). - Pyflakes has been updated to >= 4.0.0, < 4.1.0 (See also :pull:`2054`). - Added support for python 3.15 (See also :pull:`2055`). diff --git a/setup.cfg b/setup.cfg index 0a35cb58..9485dacc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ install_requires = mccabe>=0.7.0,<0.8.0 pycodestyle>=2.15.0,<2.16.0 pyflakes>=4.0.0,<4.1.0 -python_requires = >=3.10 +python_requires = >=3.11 package_dir = =src