From a206264d5bab7d7732b19ba2587656bf91176a95 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Mon, 16 Feb 2026 12:32:22 -0600 Subject: [PATCH] =?UTF-8?q?SCons:=20Bump=20minimum=20Python=20version=20(3?= =?UTF-8?q?.8=20=E2=86=92=203.9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/linux_builds.yml | 2 +- .pre-commit-config.yaml | 2 +- SConstruct | 2 +- pyproject.toml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index b25bb1a011..7a716dbe13 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -160,7 +160,7 @@ jobs: uses: ./.github/actions/godot-deps with: # Sync with Ensure*Version in SConstruct. - python-version: 3.8 + python-version: 3.9 scons-version: 4.0 - name: Force remove preinstalled .NET SDKs diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f18569de4..869cfb5801 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: types_or: [text] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 # Latest version that supports Python 3.8 + rev: v1.19.1 hooks: - id: mypy files: \.py$ diff --git a/SConstruct b/SConstruct index f293425103..2b79b4f310 100644 --- a/SConstruct +++ b/SConstruct @@ -2,7 +2,7 @@ from misc.utility.scons_hints import * EnsureSConsVersion(4, 0) -EnsurePythonVersion(3, 8) +EnsurePythonVersion(3, 9) # System import glob diff --git a/pyproject.toml b/pyproject.toml index 0b4708ccca..b68613d9cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,12 +10,12 @@ warn_redundant_casts = true warn_return_any = true warn_unreachable = true exclude = ["thirdparty/"] -python_version = "3.8" +python_version = "3.9" [tool.ruff] extend-exclude = ["thirdparty"] extend-include = ["*SConstruct", "*SCsub"] -target-version = "py38" +target-version = "py39" line-length = 120 preview = true fix = true