From cad319a3c7d49856673af5829cacff80c429b48d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 7 Jan 2025 12:07:01 +0530 Subject: [PATCH] Bump minimum python version to 3.10 3.9 is EOL in a few months and I am tired of typing Optional --- .github/workflows/ci.yml | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83c8a89af51..d345fc03a3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,15 +23,15 @@ jobs: cc: [gcc, clang] include: - python: a - pyver: "3.9" + pyver: "3.10" sanitize: 0 - python: b - pyver: "3.10" + pyver: "3.11" sanitize: 1 - python: c - pyver: "3.11" + pyver: "3.12" sanitize: 1 @@ -82,7 +82,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.13" - name: Install Go uses: actions/setup-go@v4 @@ -167,7 +167,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install Go uses: actions/setup-go@v4 diff --git a/pyproject.toml b/pyproject.toml index 6f317ec0f1b..a8b4b257a33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -requires-python = ">=3.9" +requires-python = ">=3.10" [tool.mypy] files = 'kitty,kittens,glfw,*.py,docs/conf.py,gen'