#1148795 python3.15: Start building -nogil packages

#1148795#5
Date:
2026-09-23 21:09:16 UTC
From:
To:
Hi!

Python 3.15 brings the stabilization of abi3t, the free threaded (no
gil) abi. Python extensions that use the Limited API can then be built
to provide a free threaded extension.

I've worked on a proposal that creates the -nogil packages from the
python3.15 package [1]. This would add the python3.15t interpreter and
its corresponding standard library.

In the MR I've taken some decisions, like the names of the packages and
the shipping of the standard library. I've also added the triggers so
that if the -nogil package is included, the pyc files are generated.

For convenience, I'm attaching the diff here as well, but if you have
comments, it's probably better to discuss in Salsa.

Happy hacking,

[1]: https://salsa.debian.org/cpython-team/python3/-/merge_requests/46