#1147120 python-pecan: breaks other packages with python 3.15rc2

Package:
src:python-pecan
Source:
src:python-pecan
Submitter:
Maximiliano Curia
Date:
2026-09-07 21:11:03 UTC
Severity:
normal
Tags:
#1147120#5
Date:
2026-09-07 21:08:34 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that python-pecan causes python-wsme to fail to build
from source [1].

This is because python-pecan uses load_module, which was removed in
python 3.15

This was already fixed upstream with PR #173: The load_module method was
deprecated in Python 3.4 and was removed in Python 3.15 [2].

I've applied the upstream fix in the sandbox [3] to verify that it
builds successfully and be able to build depending packages, 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/4524706/
[2]: https://github.com/pecan/pecan/pull/173
[3]: https://debusine.debian.net/debian/r-python-python3.15/