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.
This commit is contained in:
Kovid Goyal
2026-02-04 20:47:28 +05:30
parent 9a2ddc887b
commit 7004911271
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -1,5 +1,5 @@
[project] [project]
requires-python = ">=3.10" requires-python = ">=3.12"
[build-system] [build-system]
requires = [ requires = [