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
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 4 deletions

View file

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

View file

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