Bump minimum python version to 3.10

3.9 is EOL in a few months and I am tired of typing Optional
This commit is contained in:
Kovid Goyal
2025-01-07 12:07:01 +05:30
parent 9a6e7e4cdf
commit cad319a3c7
2 changed files with 6 additions and 6 deletions

View File

@@ -23,15 +23,15 @@ jobs:
cc: [gcc, clang] cc: [gcc, clang]
include: include:
- python: a - python: a
pyver: "3.9" pyver: "3.10"
sanitize: 0 sanitize: 0
- python: b - python: b
pyver: "3.10" pyver: "3.11"
sanitize: 1 sanitize: 1
- python: c - python: c
pyver: "3.11" pyver: "3.12"
sanitize: 1 sanitize: 1
@@ -82,7 +82,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: "3.12" python-version: "3.13"
- name: Install Go - name: Install Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
@@ -167,7 +167,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: "3.10" python-version: "3.11"
- name: Install Go - name: Install Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4

View File

@@ -1,5 +1,5 @@
[project] [project]
requires-python = ">=3.9" requires-python = ">=3.10"
[tool.mypy] [tool.mypy]
files = 'kitty,kittens,glfw,*.py,docs/conf.py,gen' files = 'kitty,kittens,glfw,*.py,docs/conf.py,gen'