#1147494 sfepy: FTBFS against python 3.15rc2

Package:
src:sfepy
Source:
src:sfepy
Submitter:
Maximiliano Curia
Date:
2026-09-13 05:35:02 UTC
Severity:
normal
Tags:
#1147494#5
Date:
2026-09-12 11:29:21 UTC
From:
To:
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/

#1147494#10
Date:
2026-09-13 05:33:46 UTC
From:
To:
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 1147494@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Ballarin <ballarin@debian.org> (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 ftpmaster@ftp-master.debian.org)
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 <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Francesco Ballarin <ballarin@debian.org>
Closes: 1147494
Changes:
 sfepy (2026.2-2) unstable; urgency=medium
 .
   * Add py315.patch to build against python 3.15rc2. Thanks to
     Maximiliano Curia <maxy@debian.org> 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-----