[Debian-pan-maintainers] Bug#1056042: xrayutilities ftbfs with Python 3.12

Matthias Klose doko at debian.org
Thu Nov 16 08:57:09 GMT 2023


Package: src:xrayutilities
Version: 1.7.4-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

some tests fail with:

[...]
/usr/lib/python3.12/subprocess.py:571: CalledProcessError
----------------------------- Captured stderr call 
-----------------------------
Traceback (most recent call last):
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xrayutilities/build/examples/simpack_xrr_SiO2_Ru_CoFe_IrMn_Al2O3.py", 
line 20, in <module>
     import lmfit
   File "/usr/lib/python3/dist-packages/lmfit/__init__.py", line 38, in 
<module>
     from .confidence import conf_interval, conf_interval2d
   File "/usr/lib/python3/dist-packages/lmfit/confidence.py", line 10, 
in <module>
     from .minimizer import MinimizerException
   File "/usr/lib/python3/dist-packages/lmfit/minimizer.py", line 41, in 
<module>
     from .parameter import Parameter, Parameters
   File "/usr/lib/python3/dist-packages/lmfit/parameter.py", line 10, in 
<module>
     from uncertainties import correlated_values, ufloat
   File "/usr/lib/python3/dist-packages/uncertainties/__init__.py", line 
225, in <module>
     from .core import *
   File "/usr/lib/python3/dist-packages/uncertainties/core.py", line 22, 
in <module>
     from past.builtins import basestring
   File "/usr/lib/python3/dist-packages/past/builtins/__init__.py", line 
54, in <module>
     from past.builtins.misc import (apply, chr, cmp, execfile, intern, oct,
   File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 45, 
in <module>
     from imp import reload
ModuleNotFoundError: No module named 'imp'

complete build log at
https://launchpadlibrarian.net/697894338/buildlog_ubuntu-noble-amd64.xrayutilities_1.7.4-1build2_BUILDING.txt.gz



More information about the Debian-pan-maintainers mailing list