Bug#1147494: sfepy: FTBFS against python 3.15rc2
Maximiliano Curia
maxy at debian.org
Sat Sep 12 12:29:21 BST 2026
Package: src:sfepy
Version: 2026.2-1
User: debian-python at lists.debian.org
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 /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py315.patch
Type: text/x-diff
Size: 785 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260912/76288738/attachment.patch>
More information about the debian-science-maintainers
mailing list