From 8cf524073f01b8b9780cab980370106da73754b8 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Wed, 7 Oct 2026 17:01:13 -0400 Subject: [PATCH 1/2] py311+ Committed via https://github.com/asottile/all-repos --- .github/workflows/main.yml | 4 ++-- .pre-commit-config.yaml | 4 ++-- setup.cfg | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8269fc..6a581d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,6 @@ on: jobs: main: - uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1 + uses: asottile/workflows/.github/workflows/tox.yml@v1.11.1 with: - env: '["py310", "py311"]' + env: '["py311", "py312"]' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7728f06..9cb0fb0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: rev: v3.17.0 hooks: - id: reorder-python-imports - args: [--py310-plus, --add-import, 'from __future__ import annotations'] + args: [--py311-plus, --add-import, 'from __future__ import annotations'] - repo: https://github.com/asottile/add-trailing-comma rev: v4.0.0 hooks: @@ -26,7 +26,7 @@ repos: 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/setup.cfg b/setup.cfg index d78f692..65f0c6a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,7 +20,7 @@ classifiers = packages = find: install_requires = packaging -python_requires = >=3.10 +python_requires = >=3.11 [options.packages.find] exclude = From 3904480ddc36cce378ec494d95a80e337e2a89d8 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Thu, 8 Oct 2026 14:37:35 -0400 Subject: [PATCH 2/2] correct test dependencies --- requirements-dev.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c751be2..22ef1de 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,6 @@ covdefaults coverage -pre-commit pytest pytest-env +pyyaml +setuptools