From 7004911271b984805d851a9d249fcc85739ce719 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 4 Feb 2026 20:47:28 +0530 Subject: [PATCH] Increase minimum python version to 3.12 Needed for PyErr_GetRaisedException I could polyfill it, but cant be bothered. Python 3.12 is almost 3 years old now. If somebody really, really needs older python support, PR welcome. --- .github/workflows/ci.yml | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7fac13be..01a6fed3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,11 @@ jobs: cc: [gcc, clang] include: - python: a - pyver: "3.10" + pyver: "3.14" sanitize: 0 - python: b - pyver: "3.11" + pyver: "3.13" sanitize: 1 - python: c @@ -174,7 +174,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: "3.12" - name: Install Go uses: actions/setup-go@v6 diff --git a/pyproject.toml b/pyproject.toml index 176ca5333..479cb7713 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -requires-python = ">=3.10" +requires-python = ">=3.12" [build-system] requires = [