Bug#1061760: sasview ftbfs with Python 3.12 as default
Matthias Klose
doko at debian.org
Mon Jan 29 12:33:53 GMT 2024
Package: src:sasview
Version: 5.0.6-1
Severity: serious
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12
With python3-defaults from experimental, the package fails to build:
[...]
python3 setup.py docs update
running docs
========= check for sasmodels at /<<BUILDDIR>>/sasmodels/doc ============
== !!WARNING!! sasmodels directory not found. Cannot build model docs. ==
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 292, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
107, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py",
line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py",
line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py",
line 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233,
in run_command
super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py",
line 988, in run_command
cmd_obj.run()
File "/<<PKGBUILDDIR>>/setup.py", line 106, in run
import build_sphinx
File "/<<PKGBUILDDIR>>/docs/sphinx-docs/build_sphinx.py", line 16, in
<module>
import imp
ModuleNotFoundError: No module named 'imp'
make[1]: *** [debian/rules:30: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2
More information about the debian-science-maintainers
mailing list