Source: dcmstack Version: 0.8-3 Severity: serious X-Debbugs-CC: debian...@lists.debian.org Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update Control: affects -1 src:python3-defaults
Dear maintainer(s),With a recent upload of python3-defaults the autopkgtest of dcmstack fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:
pass fail python3-defaults from testing 3.9.8-1 dcmstack from testing 0.8-3 all others from testing from testing I copied some of the output at the bottom of this report.Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.10.html lists what's new in Python2.10, it may help to identify what needs to be updated. Additionally I was told that you may be missing a call to dh_numpy3 somewhere.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/arm64/d/dcmstack/16984530/log.gzTesting with python3.10 in /tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp: ============================= test session starts ============================== platform linux -- Python 3.10.0+, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3.10
cachedir: .pytest_cache rootdir: /tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp collecting ... collected 0 items / 4 errors==================================== ERRORS ==================================== ______________________ ERROR collecting test/test_cli.py _______________________ ImportError while importing test module '/tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp/test/test_cli.py'.
Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3/dist-packages/numpy/core/__init__.py:22: in <module> from . import multiarray /usr/lib/python3/dist-packages/numpy/core/multiarray.py:12: in <module> from . import overrides /usr/lib/python3/dist-packages/numpy/core/overrides.py:7: in <module> from numpy.core._multiarray_umath import ( E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/test_cli.py:6: in <module> import numpy as np /usr/lib/python3/dist-packages/numpy/__init__.py:140: in <module> from . import core /usr/lib/python3/dist-packages/numpy/core/__init__.py:48: in <module> raise ImportError(msg)E ImportError: E E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
E E Importing the numpy C-extensions failed. This error can happen for E many reasons, often due to issues with your setup or how NumPy was E installed. E E We have compiled some common reasons and troubleshooting tips at: E E https://numpy.org/devdocs/user/troubleshooting-importerror.html E E Please note and check the following: E E * The Python version is: Python3.10 from "/usr/bin/python3.10" E * The NumPy version is: "1.19.5" E E and make sure that they are the versions you expect. E Please carefully study the documentation linked above for further help. E E Original error was: No module named 'numpy.core._multiarray_umath'____________________ ERROR collecting test/test_dcmmeta.py _____________________ ImportError while importing test module '/tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp/test/test_dcmmeta.py'.
Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3/dist-packages/numpy/core/__init__.py:22: in <module> from . import multiarray /usr/lib/python3/dist-packages/numpy/core/multiarray.py:12: in <module> from . import overrides /usr/lib/python3/dist-packages/numpy/core/overrides.py:7: in <module> from numpy.core._multiarray_umath import ( E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/test_dcmmeta.py:9: in <module> import numpy as np /usr/lib/python3/dist-packages/numpy/__init__.py:140: in <module> from . import core /usr/lib/python3/dist-packages/numpy/core/__init__.py:48: in <module> raise ImportError(msg)E ImportError: E E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
E E Importing the numpy C-extensions failed. This error can happen for E many reasons, often due to issues with your setup or how NumPy was E installed. E E We have compiled some common reasons and troubleshooting tips at: E E https://numpy.org/devdocs/user/troubleshooting-importerror.html E E Please note and check the following: E E * The Python version is: Python3.10 from "/usr/bin/python3.10" E * The NumPy version is: "1.19.5" E E and make sure that they are the versions you expect. E Please carefully study the documentation linked above for further help. E E Original error was: No module named 'numpy.core._multiarray_umath'____________________ ERROR collecting test/test_dcmstack.py ____________________ ImportError while importing test module '/tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp/test/test_dcmstack.py'.
Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3/dist-packages/numpy/core/__init__.py:22: in <module> from . import multiarray /usr/lib/python3/dist-packages/numpy/core/multiarray.py:12: in <module> from . import overrides /usr/lib/python3/dist-packages/numpy/core/overrides.py:7: in <module> from numpy.core._multiarray_umath import ( E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/test_dcmstack.py:13: in <module> import numpy as np /usr/lib/python3/dist-packages/numpy/__init__.py:140: in <module> from . import core /usr/lib/python3/dist-packages/numpy/core/__init__.py:48: in <module> raise ImportError(msg)E ImportError: E E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
E E Importing the numpy C-extensions failed. This error can happen for E many reasons, often due to issues with your setup or how NumPy was E installed. E E We have compiled some common reasons and troubleshooting tips at: E E https://numpy.org/devdocs/user/troubleshooting-importerror.html E E Please note and check the following: E E * The Python version is: Python3.10 from "/usr/bin/python3.10" E * The NumPy version is: "1.19.5" E E and make sure that they are the versions you expect. E Please carefully study the documentation linked above for further help. E E Original error was: No module named 'numpy.core._multiarray_umath'____________________ ERROR collecting test/test_extract.py _____________________ ImportError while importing test module '/tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp/test/test_extract.py'.
Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3/dist-packages/numpy/core/__init__.py:22: in <module> from . import multiarray /usr/lib/python3/dist-packages/numpy/core/multiarray.py:12: in <module> from . import overrides /usr/lib/python3/dist-packages/numpy/core/overrides.py:7: in <module> from numpy.core._multiarray_umath import ( E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/test_extract.py:8: in <module> from nibabel.nicom import csareader /usr/lib/python3/dist-packages/nibabel/__init__.py:40: in <module> from . import analyze as ana /usr/lib/python3/dist-packages/nibabel/analyze.py:85: in <module> import numpy as np /usr/lib/python3/dist-packages/numpy/__init__.py:140: in <module> from . import core /usr/lib/python3/dist-packages/numpy/core/__init__.py:48: in <module> raise ImportError(msg)E ImportError: E E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
E E Importing the numpy C-extensions failed. This error can happen for E many reasons, often due to issues with your setup or how NumPy was E installed. E E We have compiled some common reasons and troubleshooting tips at: E E https://numpy.org/devdocs/user/troubleshooting-importerror.html E E Please note and check the following: E E * The Python version is: Python3.10 from "/usr/bin/python3.10" E * The NumPy version is: "1.19.5" E E and make sure that they are the versions you expect. E Please carefully study the documentation linked above for further help. E E Original error was: No module named 'numpy.core._multiarray_umath'=============================== warnings summary ===============================
test/test_extract.py:119/tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp/test/test_extract.py:119: PytestAssertRewriteWarning: assertion is always true, perhaps remove parentheses?
assert(meta_dict['CsaSeries.MrPhoenixProtocol.sEFISPEC.bEFIDataValid'], 1) test/test_extract.py:113/tmp/autopkgtest-lxc.n5nw69fn/downtmp/autopkgtest_tmp/test/test_extract.py:113: PytestAssertRewriteWarning: assertion is always true, perhaps remove parentheses?
assert(meta_dict['CsaSeries.MrPhoenixProtocol.sEFISPEC.bEFIDataValid'], 1) -- Docs: https://docs.pytest.org/en/stable/warnings.html=========================== short test summary info ============================
ERROR test/test_cli.py ERROR test/test_dcmmeta.py ERROR test/test_dcmstack.py ERROR test/test_extract.py!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 2 warnings, 4 errors in 0.53s =========================
autopkgtest [14:12:18]: test run-unit-test
OpenPGP_signature
Description: OpenPGP digital signature