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

Package:
src:python-pecan
Source:
src:python-pecan
Submitter:
Maximiliano Curia
Date:
2026-09-17 15:35: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/

#1147120#8
Date:
2026-09-17 15:19:24 UTC
From:
To:
Hello,

Bug #1147120 in python-pecan reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/python/python-pecan/-/commit/b6d7cd88ae6c9492346b9e01d19ae49e286945ed
------------------------------------------------------------------------
load_module() was deprecated in Python 3.4 and was removed in Python 3.15.

Applied upstrem patch (Closes: #1147120):
- Replace-load_module.patch.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147120

#1147120#15
Date:
2026-09-17 15:34:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-pecan, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1147120@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated python-pecan package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 17 Sep 2026 17:11:52 +0200
Source: python-pecan
Architecture: source
Version: 1.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1147120
Changes:
 python-pecan (1.8.0-2) unstable; urgency=medium
 .
   * load_module() was deprecated in Python 3.4 and was removed in Python 3.15.
     Applied upstrem patch (Closes: #1147120):
     - Replace-load_module.patch.
Checksums-Sha1:
 f59d69c02c314aec5b587740807b03051ab95063 2421 python-pecan_1.8.0-2.dsc
 f15cb28f1dd74fd453fde272899dd2be686678a0 6808 python-pecan_1.8.0-2.debian.tar.xz
 0aa5b5d9a7d9302826b2e1ed5f4a431649c6c8aa 8625 python-pecan_1.8.0-2_amd64.buildinfo
Checksums-Sha256:
 ddb231d11e61e107393506c39aba6e5986763c81e0884aa7c8bcfa2d413f2001 2421 python-pecan_1.8.0-2.dsc
 7eec806bbbad9cb8edf8a8127c051db31605c3b279960c6e12b2a94215fafbf4 6808 python-pecan_1.8.0-2.debian.tar.xz
 d8272f66f0d02ea2eb99b06b4ebefced26b1ca499790e056fc096249d14ebada 8625 python-pecan_1.8.0-2_amd64.buildinfo
Files:
 57e942f06b259700bbaf9665b344f9bc 2421 python optional python-pecan_1.8.0-2.dsc
 d3c73a2ca49e118e25cd657fa3d7fcb3 6808 python optional python-pecan_1.8.0-2.debian.tar.xz
 560c82027dca137288d5e5695db94e26 8625 python optional python-pecan_1.8.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqsBQAACgkQ1BatFaxr
Q/5kUQ/+JjrWjFDyk8JXn2ZuGYZqG1zO42R/yRMzucOO9XGUzMf5+I/g6LWoG+Wz
iKcjYtiRsGZRdPJr8xiv4Q/tEtszD4e6ZJlNI7Rll7aoxKoLsJRQyZtQUiSlfbEp
As6DeavlvzqsKkr2SyJGnx2u5arsmxJcuabpdBAKUJeBQIaTgtRkC7wP3tC74PZy
ik2IILpc8Tct7255BkpXkyN7A9hgy1iu5emONiANyVAlqNfLyEDNepPefkDFA6KQ
mJFEuD9t6hHJedcTvr2Ev30f/6waiGj43dnWw+CG9cMNTLdmetEimNwMeMMmun0p
qVHOKLZPnVGCPwIRx/SXQQoENZHWA3yoDjp60bLE2+0ziKQ0MtNWHOA5pa/b/iKn
TY7q+/xxbgGZ5pZsfTvGd/qgzO7gmfgfSnF6O1J/2UtXyvmJn7yeU1hBU1TCWHf+
M84Il3q7HZg7LnTooNwoMCvSbI7VwOw8c9z4MZhZEqaJ0mFx8yJdsj0s73gcNxkH
LiXKKI1yvR/0Zwcp5lEFtK6Ik/u1dSO03WkrPmUQXe0QUGucmzToHJdREK+TqTNO
6ABNWdjhLjBx0CspHTQ0IC7suE11t8+yiDFHq2NDPD82wH/TcglgTwL2sG0DQKaZ
SFmiWqOsj+qVLMdHNJsoTzTCweJG7Ih2LETddmr2GlPAHHy5e2I=
=GkVg
-----END PGP SIGNATURE-----