Package: src:sqlobject
Version: 3.13.1+dfsg-2
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that sqlobject fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4857710/
From the log, the error seems to be:
base_name = 'test_compat', module_name = 'sqlobject.tests.test_compat'
filename =
'/build/reproducible-path/sqlobject-3.13.1+dfsg/sqlobject/tests/test_compat.py'
def load_module_from_file(base_name, module_name, filename):
specs = importlib.util.spec_from_file_location(module_name,
filename)
loader = specs.loader
if hasattr(loader, 'create_module'):
module = loader.create_module(specs)
else:
module = None
if module is None:
return specs.loader.load_module()
^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'SourceFileLoader' object has no attribute
'load_module'. Did you mean '.exec_module' instead of '.load_module'?
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.
--
Regards,
Marga