#1145997 gpaw: FTBFS against python 3.15rc1

#1145997#5
Date:
2026-08-28 16:40:36 UTC
From:
To:
Package: src:gpaw
Version: 25.7.0-2
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 gpaw fails to build from source [1].

Both are errors in the tests that require minimal changes, upstream
already tackled those [2] [4], I'm attaching the backported patches.

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on TODO, please consider applying the patch to
support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1017025/
[2]: https://gitlab.com/gpaw/gpaw/-/commit/a834678b0da993f32422905e2765e82b78bf5050
[3]: https://debusine.debian.net/debian/r-python-python3.15/
[4]: https://gitlab.com/gpaw/gpaw/-/commit/b91b62f0c1cd464eb9e81cf01e849aa7b5f2ab8d