#1146029 astroid: Change in behavior with python 3.15rc1

#1146029#5
Date:
2026-08-29 09:45:28 UTC
From:
To:
Package: src:astroid
Version: 4.1.1-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that astroid has a change in behavior that causes other
packages to fail to build [1].

This was already found and fixed upstream with a patch that catches the
ModuleNotFoundError that is generated when running with Python 3.15. [2]

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

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4493763/
[2]: https://github.com/pylint-dev/astroid/commit/7fe3057bc2864ccf18c524b5e85fe57a12f32ef6
[3]: https://debusine.debian.net/debian/r-python-python3.15/