Your message dated Thu, 17 Sep 2026 15:34:44 +0000
with message-id <[email protected]>
and subject line Bug#1147120: fixed in python-pecan 1.8.0-2
has caused the Debian Bug report #1147120,
regarding python-pecan: breaks other packages with python 3.15rc2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1147120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-pecan
Version: 1.5.1-6
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
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/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Replace load_module
The load_module method was deprecated in Python 3.4 and was removed in
Python 3.15.
Author: Takashi Kajinami <[email protected]>
Origin: upstream, https://github.com/pecan/pecan/pull/173
---
Index: python-pecan/pecan/configuration.py
===================================================================
--- python-pecan.orig/pecan/configuration.py
+++ python-pecan/pecan/configuration.py
@@ -3,6 +3,7 @@ import inspect
import os
import sys
from importlib.machinery import SourceFileLoader
+from importlib.util import (module_from_spec, spec_from_loader)
IDENTIFIER = re.compile(r'[a-z_](\w)*$', re.IGNORECASE)
@@ -168,7 +169,12 @@ def conf_from_file(filepath):
# This provides more verbose import-related error reporting than exec()
absname, _ = os.path.splitext(abspath)
basepath, module_name = absname.rsplit(os.sep, 1)
- SourceFileLoader(module_name, abspath).load_module(module_name)
+
+ loader = SourceFileLoader(module_name, abspath)
+ spec = spec_from_loader(module_name, loader)
+ module = module_from_spec(spec)
+
+ spec.loader.exec_module(module)
# If we were able to import as a module, actually exec the compiled code
exec(compiled, globals(), conf_dict)
--- End Message ---
--- Begin Message ---
Source: python-pecan
Source-Version: 1.8.0-2
Done: Thomas Goirand <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
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 <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
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-----
pgpkXsX4p_lyN.pgp
Description: PGP signature
--- End Message ---