From d3c0cefd4a634ec7efbba90ba55ac1e55f91b62f Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 7 Oct 2023 15:20:07 +0200 Subject: [PATCH] chore: move to python 3.12 --- .pre-commit-config.yaml | 4 ++-- .python-version | 2 +- pyproject.toml | 2 +- requirements.txt | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 54409c5..875562c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks default_language_version: - python: python3.11 + python: python3.12 repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -24,7 +24,7 @@ repos: rev: v3.14.0 hooks: - id: pyupgrade - args: ["--py311-plus"] + args: ["--py312-plus"] exclude: pep600_compliance/tools/calculate_symbol_versions.py - repo: https://github.com/psf/black-pre-commit-mirror diff --git a/.python-version b/.python-version index 2c07333..e4fba21 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.11 +3.12 diff --git a/pyproject.toml b/pyproject.toml index 20e795d..11384fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ # No build-system here, used for tool configuration only [tool.black] -target-version = ["py311"] +target-version = ["py312"] [tool.isort] profile = "black" diff --git a/requirements.txt b/requirements.txt index 433b52a..7b976e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.11 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.12 +# by the following command: # # nox -s update_requirements #