Bug#1056419: lmfit-py's autopkg tests fail with Python 3.12

Matthias Klose doko at debian.org
Wed Nov 22 11:48:45 GMT 2023


Package: src:lmfit-py
Version: 1.2.2-2
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

[...]
351s autopkgtest [18:28:37]: test command1: [-----------------------
352s Testing with python3.12:
352s ImportError while loading conftest 
'/tmp/autopkgtest.ToW4O5/autopkgtest_tmp/tests/conftest.py'.
352s tests/conftest.py:6: in <module>
352s     import lmfit
352s /usr/lib/python3/dist-packages/lmfit/__init__.py:38: in <module>
352s     from .confidence import conf_interval, conf_interval2d
352s /usr/lib/python3/dist-packages/lmfit/confidence.py:10: in <module>
352s     from .minimizer import MinimizerException
352s /usr/lib/python3/dist-packages/lmfit/minimizer.py:41: in <module>
352s     from .parameter import Parameter, Parameters
352s /usr/lib/python3/dist-packages/lmfit/parameter.py:10: in <module>
352s     from uncertainties import correlated_values, ufloat
352s /usr/lib/python3/dist-packages/uncertainties/__init__.py:225: in 
<module>
352s     from .core import *
352s /usr/lib/python3/dist-packages/uncertainties/core.py:22: in <module>
352s     from past.builtins import basestring
352s /usr/lib/python3/dist-packages/past/builtins/__init__.py:54: in 
<module>
352s     from past.builtins.misc import (apply, chr, cmp, execfile, 
intern, oct,
352s /usr/lib/python3/dist-packages/past/builtins/misc.py:45: in <module>
352s     from imp import reload
352s E   ModuleNotFoundError: No module named 'imp'
353s autopkgtest [18:28:39]: test command1: -----------------------]
353s autopkgtest [18:28:39]: test command1:  - - - - - - - - - - results 
- - - - - - - - - -
353s command1             FAIL non-zero exit status 4
353s autopkgtest [18:28:39]: test command1:  - - - - - - - - - - stderr 
- - - - - - - - - -
353s ImportError while loading conftest 
'/tmp/autopkgtest.ToW4O5/autopkgtest_tmp/tests/conftest.py'.
353s tests/conftest.py:6: in <module>
353s     import lmfit
353s /usr/lib/python3/dist-packages/lmfit/__init__.py:38: in <module>
353s     from .confidence import conf_interval, conf_interval2d
353s /usr/lib/python3/dist-packages/lmfit/confidence.py:10: in <module>
353s     from .minimizer import MinimizerException
353s /usr/lib/python3/dist-packages/lmfit/minimizer.py:41: in <module>
353s     from .parameter import Parameter, Parameters
353s /usr/lib/python3/dist-packages/lmfit/parameter.py:10: in <module>
353s     from uncertainties import correlated_values, ufloat
353s /usr/lib/python3/dist-packages/uncertainties/__init__.py:225: in 
<module>
353s     from .core import *
353s /usr/lib/python3/dist-packages/uncertainties/core.py:22: in <module>
353s     from past.builtins import basestring
353s /usr/lib/python3/dist-packages/past/builtins/__init__.py:54: in 
<module>
353s     from past.builtins.misc import (apply, chr, cmp, execfile, 
intern, oct,
353s /usr/lib/python3/dist-packages/past/builtins/misc.py:45: in <module>
353s     from imp import reload
353s E   ModuleNotFoundError: No module named 'imp'
353s autopkgtest [18:28:39]: @@@@@@@@@@@@@@@@@@@@ summary
353s command1             FAIL non-zero exit status 4



More information about the debian-science-maintainers mailing list