#1145088 aiofile: FTBFS building against python 3.15

Package:
src:aiofile
Source:
src:aiofile
Submitter:
Maximiliano Curia
Date:
2026-08-22 11:49:06 UTC
Severity:
normal
Tags:
#1145088#5
Date:
2026-08-22 09:41:13 UTC
From:
To:
Package: src:aiofile
Version: 3.9.0-1.1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

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

This is due to the way the module metadata is processed, that's already
fixed upstream and included since the release 3.10.1.

I'm attaching the upstream patch used in the sandbox to allow building
the packages that depend on aiofile.

Please consider including this patch or updating the package to the new
upstream release.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1063575/