SCons: Bump minimum Python version (3.8 → 3.9)

This commit is contained in:
Thaddeus Crews 2026-02-16 12:32:22 -06:00
parent 0df713417b
commit a206264d5b
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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$

View file

@ -2,7 +2,7 @@
from misc.utility.scons_hints import *
EnsureSConsVersion(4, 0)
EnsurePythonVersion(3, 8)
EnsurePythonVersion(3, 9)
# System
import glob

View file

@ -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