#1149155 python-friendly-traceback: FTBFS against python 3.15rc2

#1149155#5
Date:
2026-09-27 15:09:42 UTC
From:
To:
Hi!

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

There are a number of different errors due to changes in wording in the exceptions in Python 3.15. I've created a patch that accepts both wordings. I couldn't find this applied upstream, so this should probably be forwarded.

I've applied these changes in the sandbox [2] to verify that it builds successfully, please consider applying the patch to support the upcoming 3.15 version.

Setting the severity to important for now. Once Python 3.15 is released, it will be added to python3-defaults and this bug will become release critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4467551/
[2]: https://debusine.debian.net/debian/r-python-python3.15/