[Debian-med-packaging] Bug#1056455: python-anndata's autopkg tests fail with Python 3.12
Matthias Klose
doko at debian.org
Wed Nov 22 13:16:09 GMT 2023
Package: src:python-anndata
Version: 0.8.0-4
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12
python-anndata's autopkg tests fail with Python 3.12:
[...]
433s Testing with python3.12:
435s ============================= test session starts
==============================
435s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
435s rootdir: /tmp/autopkgtest.cRh5KZ/autopkgtest_tmp
435s plugins: cov-4.1.0
435s collected 909 items / 5 errors / 1 skipped
435s
435s ==================================== ERRORS
====================================
435s _________________ ERROR collecting tests/test_anncollection.py
_________________
435s ImportError while importing test module
'/usr/lib/python3/dist-packages/anndata/tests/test_anncollection.py'.
435s Hint: make sure your test modules/packages have valid Python names.
435s Traceback:
435s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
435s return _bootstrap._gcd_import(name[level:], package, level)
435s
/usr/lib/python3/dist-packages/anndata/tests/test_anncollection.py:7: in
<module>
435s from sklearn.preprocessing import LabelEncoder
435s /usr/lib/python3/dist-packages/sklearn/__init__.py:82: in <module>
435s from .base import clone
435s /usr/lib/python3/dist-packages/sklearn/base.py:17: in <module>
435s from .utils import _IS_32BIT
435s /usr/lib/python3/dist-packages/sklearn/utils/__init__.py:21: in
<module>
435s from . import _joblib
435s /usr/lib/python3/dist-packages/sklearn/utils/_joblib.py:7: in <module>
435s import joblib
435s /usr/lib/python3/dist-packages/joblib/__init__.py:113: in <module>
435s from .memory import Memory, MemorizedResult, register_store_backend
435s /usr/lib/python3/dist-packages/joblib/memory.py:32: in <module>
435s from ._store_backends import StoreBackendBase,
FileSystemStoreBackend
435s /usr/lib/python3/dist-packages/joblib/_store_backends.py:15: in
<module>
435s from .backports import concurrency_safe_rename
435s /usr/lib/python3/dist-packages/joblib/backports.py:22: in <module>
435s import distutils # noqa
435s E ModuleNotFoundError: No module named 'distutils'
435s _________________ ERROR collecting tests/test_hdf5_backing.py
__________________
435s ImportError while importing test module
'/usr/lib/python3/dist-packages/anndata/tests/test_hdf5_backing.py'.
435s Hint: make sure your test modules/packages have valid Python names.
435s Traceback:
435s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
435s return _bootstrap._gcd_import(name[level:], package, level)
435s
/usr/lib/python3/dist-packages/anndata/tests/test_hdf5_backing.py:4: in
<module>
435s import joblib
435s /usr/lib/python3/dist-packages/joblib/__init__.py:113: in <module>
435s from .memory import Memory, MemorizedResult, register_store_backend
435s /usr/lib/python3/dist-packages/joblib/memory.py:32: in <module>
435s from ._store_backends import StoreBackendBase,
FileSystemStoreBackend
435s /usr/lib/python3/dist-packages/joblib/_store_backends.py:15: in
<module>
435s from .backports import concurrency_safe_rename
435s /usr/lib/python3/dist-packages/joblib/backports.py:22: in <module>
435s import distutils # noqa
435s E ModuleNotFoundError: No module named 'distutils'
435s ___________________ ERROR collecting tests/test_obsmvarm.py
____________________
435s ImportError while importing test module
'/usr/lib/python3/dist-packages/anndata/tests/test_obsmvarm.py'.
435s Hint: make sure your test modules/packages have valid Python names.
435s Traceback:
435s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
435s return _bootstrap._gcd_import(name[level:], package, level)
435s /usr/lib/python3/dist-packages/anndata/tests/test_obsmvarm.py:1: in
<module>
435s import joblib
435s /usr/lib/python3/dist-packages/joblib/__init__.py:113: in <module>
435s from .memory import Memory, MemorizedResult, register_store_backend
435s /usr/lib/python3/dist-packages/joblib/memory.py:32: in <module>
435s from ._store_backends import StoreBackendBase,
FileSystemStoreBackend
435s /usr/lib/python3/dist-packages/joblib/_store_backends.py:15: in
<module>
435s from .backports import concurrency_safe_rename
435s /usr/lib/python3/dist-packages/joblib/backports.py:22: in <module>
435s import distutils # noqa
435s E ModuleNotFoundError: No module named 'distutils'
435s ___________________ ERROR collecting tests/test_obspvarp.py
____________________
435s ImportError while importing test module
'/usr/lib/python3/dist-packages/anndata/tests/test_obspvarp.py'.
435s Hint: make sure your test modules/packages have valid Python names.
435s Traceback:
435s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
435s return _bootstrap._gcd_import(name[level:], package, level)
435s /usr/lib/python3/dist-packages/anndata/tests/test_obspvarp.py:2: in
<module>
435s import joblib
435s /usr/lib/python3/dist-packages/joblib/__init__.py:113: in <module>
435s from .memory import Memory, MemorizedResult, register_store_backend
435s /usr/lib/python3/dist-packages/joblib/memory.py:32: in <module>
435s from ._store_backends import StoreBackendBase,
FileSystemStoreBackend
435s /usr/lib/python3/dist-packages/joblib/_store_backends.py:15: in
<module>
435s from .backports import concurrency_safe_rename
435s /usr/lib/python3/dist-packages/joblib/backports.py:22: in <module>
435s import distutils # noqa
435s E ModuleNotFoundError: No module named 'distutils'
435s _____________________ ERROR collecting tests/test_views.py
_____________________
435s ImportError while importing test module
'/usr/lib/python3/dist-packages/anndata/tests/test_views.py'.
435s Hint: make sure your test modules/packages have valid Python names.
435s Traceback:
435s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
435s return _bootstrap._gcd_import(name[level:], package, level)
435s /usr/lib/python3/dist-packages/anndata/tests/test_views.py:4: in
<module>
435s import joblib
435s /usr/lib/python3/dist-packages/joblib/__init__.py:113: in <module>
435s from .memory import Memory, MemorizedResult, register_store_backend
435s /usr/lib/python3/dist-packages/joblib/memory.py:32: in <module>
435s from ._store_backends import StoreBackendBase,
FileSystemStoreBackend
435s /usr/lib/python3/dist-packages/joblib/_store_backends.py:15: in
<module>
435s from .backports import concurrency_safe_rename
435s /usr/lib/python3/dist-packages/joblib/backports.py:22: in <module>
435s import distutils # noqa
435s E ModuleNotFoundError: No module named 'distutils'
More information about the Debian-med-packaging
mailing list