[Debian-astro-maintainers] Bug#1063411: spectral-cube fails autopkg tests with Python 3.12
Matthias Klose
doko at debian.org
Wed Feb 7 20:09:01 GMT 2024
Package: src:spectral-cube
Version: 0.6.5-2
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12
[...]
382s autopkgtest [15:52:48]: test command1: cd $AUTOPKGTEST_TMP &&
python3 -m pytest --pyargs spectral_cube
382s autopkgtest [15:52:48]: test command1: [-----------------------
387s ============================= test session starts
==============================
387s platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.4.0
387s rootdir: /tmp/autopkgtest.e6zDzM/autopkgtest_tmp
387s plugins: hypothesis-6.93.2, arraydiff-0.6.1, astropy-header-0.2.2,
cov-4.1.0, doctestplus-1.1.0, filter-subpackage-0.1.2, mock-3.12.0,
remotedata-0.4.1, astropy-0.11.0
387s collected 0 items / 1 error
387s
387s ==================================== ERRORS
====================================
387s ________________________ ERROR collecting test session
_________________________
387s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
387s return _bootstrap._gcd_import(name[level:], package, level)
387s <frozen importlib._bootstrap>:1387: in _gcd_import
387s ???
387s <frozen importlib._bootstrap>:1360: in _find_and_load
387s ???
387s <frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
387s ???
387s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
387s ???
387s <frozen importlib._bootstrap>:1387: in _gcd_import
387s ???
387s <frozen importlib._bootstrap>:1360: in _find_and_load
387s ???
387s <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
387s ???
387s <frozen importlib._bootstrap>:935: in _load_unlocked
387s ???
387s <frozen importlib._bootstrap_external>:994: in exec_module
387s ???
387s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
387s ???
387s /usr/lib/python3/dist-packages/spectral_cube/__init__.py:5: in <module>
387s from .spectral_cube import (SpectralCube,
VaryingResolutionSpectralCube)
387s /usr/lib/python3/dist-packages/spectral_cube/spectral_cube.py:60:
in <module>
387s from distutils.version import LooseVersion
387s E ModuleNotFoundError: No module named 'distutils'
More information about the Debian-astro-maintainers
mailing list