From a995f147797589fc1e55ddf8ff77464b9f472f02 Mon Sep 17 00:00:00 2001
From: jakkdl
Date: Thu, 23 Jan 2025 17:08:03 +0100
Subject: [PATCH 1/2] bump various tools to use 3.13
---
.github/workflows/ci.yml | 4 ++--
.pre-commit-config.yaml | 2 +-
pyproject.toml | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8b3ddcff..595242ed 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,10 +51,10 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- - name: Set up Python 3.12
+ - name: Set up Python 3.13
uses: actions/setup-python@v5
with:
- python-version: 3.12
+ python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5efdce81..2ab0c508 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
---
default_language_version:
- python: python3.12
+ python: python3.13
# pyright requires internet connection to run, which the pre-commit ci app doesn't have.
# it instead runs in a github action
# check-release-changelog is run as a dedicated job
diff --git a/pyproject.toml b/pyproject.toml
index b48579e3..f8250271 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,7 @@ ignore-words-list = 'spawnve'
[tool.isort]
only_modified = true
profile = "black"
-py_version = "311"
+py_version = "313"
quiet = true
skip_gitignore = true
skip_glob = "tests/*_files/*"
@@ -32,7 +32,7 @@ warn_unused_ignores = false
[tool.pyright]
exclude = ["**/node_modules", "**/__pycache__", "**/.*", "tests/eval_files/*", "tests/autofix_files/*"] # TODO: fix errors in eval/autofix files
-pythonVersion = "3.12"
+pythonVersion = "3.13"
reportCallInDefaultInitializer = true
reportImplicitStringConcatenation = false # black generates implicit string concats
reportMissingSuperCall = true
From 0c4b594eabe8e09a74292a20334aa341915408a7 Mon Sep 17 00:00:00 2001
From: jakkdl
Date: Fri, 24 Jan 2025 13:08:21 +0100
Subject: [PATCH 2/2] isort -> 312
---
pyproject.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index f8250271..30bbbd85 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,8 @@ ignore-words-list = 'spawnve'
[tool.isort]
only_modified = true
profile = "black"
-py_version = "313"
+# isort is slow to release official support for new python versions
+py_version = "312"
quiet = true
skip_gitignore = true
skip_glob = "tests/*_files/*"