Your message dated Sun, 13 Sep 2026 05:33:46 +0000
with message-id <[email protected]>
and subject line Bug#1147494: fixed in sfepy 2026.2-2
has caused the Debian Bug report #1147494,
regarding sfepy: FTBFS against 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.)


-- 
1147494: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147494
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:sfepy
Version: 2026.2-1
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 sfepy fails to build from source [1].
The error is: AttributeError: 'SourceFileLoader' object has no attribute
'load_module'. Did you mean '.exec_module' instead of '.load_module'?

This is caused by load_module being deprecated, I've added a patch to
migrate away from it.

I've applied the fix 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/4645423/
[2]: 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: SourceFileLoader.load_module() was removed in Python 3.15, use exec_module() instead
Author: Maximiliano Curia <[email protected]>

--- a/sfepy/config.py
+++ b/sfepy/config.py
@@ -78,8 +78,11 @@ class Config:
                 pass

         try:
-            self.site_cfg = (SourceFileLoader('site_cfg', config_filename)
-                             .load_module())
+            import importlib.util
+            loader = SourceFileLoader('site_cfg', config_filename)
+            spec = importlib.util.spec_from_loader('site_cfg', loader)
+            self.site_cfg = importlib.util.module_from_spec(spec)
+            loader.exec_module(self.site_cfg)

         except FileNotFoundError:
             print(f'Warning: SfePy site configuration file ({config_filename})'

--- End Message ---
--- Begin Message ---
Source: sfepy
Source-Version: 2026.2-2
Done: Francesco Ballarin <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sfepy, 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.
Francesco Ballarin <[email protected]> (supplier of updated sfepy 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: Sun, 13 Sep 2026 05:11:35 +0000
Source: sfepy
Architecture: source
Version: 2026.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Francesco Ballarin <[email protected]>
Closes: 1147494
Changes:
 sfepy (2026.2-2) unstable; urgency=medium
 .
   * Add py315.patch to build against python 3.15rc2. Thanks to
     Maximiliano Curia <[email protected]> for providing the patch.
     Closes: #1147494.
Checksums-Sha1:
 3e95e5c3a8a39bf5afbd9acb976e05ed34beefa6 2590 sfepy_2026.2-2.dsc
 a6fd8bc7700b769eba4dee45fcd251979c736b12 8164 sfepy_2026.2-2.debian.tar.xz
 73bcedfed5a898dd87b59fcdc37ca9276e61ef6f 22085 sfepy_2026.2-2_source.buildinfo
Checksums-Sha256:
 813f577625cda0dc5481d1ebbb4c30e6f20a50be2310bbb32d0366927389df69 2590 
sfepy_2026.2-2.dsc
 df511cfe780248ae1f018105f401564865fa1e4b1f9db750f2f85dcc78d50269 8164 
sfepy_2026.2-2.debian.tar.xz
 04d0b9c709d36c68d015e310219cd220d31453acaebf20a91353590973e41705 22085 
sfepy_2026.2-2_source.buildinfo
Files:
 afa8aeaa0c76ea364fcc81afea993dd1 2590 python optional sfepy_2026.2-2.dsc
 c85fc91f9ca443e60efbf994d74b036a 8164 python optional 
sfepy_2026.2-2.debian.tar.xz
 a69f49e37bec26dc9b6ed5872920d39b 22085 python optional 
sfepy_2026.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEG10EseUHu/A2aeK4AfNfwz5zr4wFAmqmMSYACgkQAfNfwz5z
r4y/LhAAkoA7soDyo2kUWvFEY9qOw+pxnTWzxmaDBqWXng1f9B913vWWgJICSliO
qN7jq1WBaIJKwGFBRT+UE0+4WCWWIyyrEdEqMrpskjPopAwnmaylwj05upJ5z5ZG
YFfSVYPi03sY3QE43gZkk06Pf1pPSloGQgm/IuqoJFaWwO5DaTNq/upmGkwplc2H
9lXyy8gHA4/hs1skwJ0GWCvSlGjqWeJKnoS6NI/VPJUds8k+qMRLmimbQ/ZuliU+
05T4m9LGbxu20SdOF+ztFKu2MqlA3/nvPxs87h458ymoPZZXduAQI5AkXzwzb39y
6Ic2/MwU5PjdPy01EnXB8+Sp9kp7wA/7CC2EU6rtr0vhF3ovssYayOhv5rMypvWe
zrxoCTBdqukaf13XzRPmtkDzK3F2bbnjmVOHEnMHK6YvlzRAD2Y30XAtRiARiQlr
fZeAm0akqs2wZ4XUVGIvRneel8q93OzgE3HMKZEoNmkgfORKRRkamkraFAKG5Y43
Z+YHYbYVFXFwOmuEvlg55zqoXZqKZnOq9I3x9f8wS9Wlxa0i++CYjBMmzuxV7acD
aUbpdkThn1AV2nHrLJ6cLHAY7pH5qPtHETBIkUYpU8G/ZkdsAEH3oBqZqqlK1iP/
yqkSurRCSzcpMlb58xxFDOlOnoxZa4VxkQT/RCd1cvj+a+Z1vcA=
=1Osi
-----END PGP SIGNATURE-----

Attachment: pgpPiS6pXkecU.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to