#1145839 python-anyio: FTBFS against python 3.15rc1

Package:
src:python-anyio
Source:
src:python-anyio
Submitter:
Maximiliano Curia
Date:
2026-08-27 09:41:02 UTC
Severity:
normal
Tags:
#1145839#5
Date:
2026-08-27 09:39:55 UTC
From:
To:
Package: src:python-anyio
Version: 4.12.1-3
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that python-anyio fails to build from source [1].

I backported the relevant parts of the upstream commits that add support
for 3.15 [2] [3]. Note that upstream disables blockbuster in the
pyproject.toml, but that doesn't work for our builds. Also, blockbuster
will get support for python 3.15 once forbiddenfruit add it[5].

I applied the upstream fixes in the sandbox [4] to be able to build the
packages that depend on python-anyio, please consider applying the
patches to support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1113809/
[2]: https://github.com/agronholm/anyio/commit/2370032396438b0279bacb3ff2f5c4ae2886f0d0
[3]: https://github.com/agronholm/anyio/commit/25b417fb497f1af25487cdcb7a89fe1e5f91b59d
[4]: https://debusine.debian.net/debian/r-python-python3.15/
[5]: https://github.com/clarete/forbiddenfruit/pull/86