[Debian-astro-maintainers] Bug#1056227: aplpy's autopkg tests fail with Python 3.12
Matthias Klose
doko at debian.org
Sun Nov 19 10:49:37 GMT 2023
Package: src:aplpy
Version: 2.1.0-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12
aplpy's autopkg tests fail with Python 3.12 (distutils is removed in 3.12):
[...]
272s ============================= test session starts
==============================
272s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
272s Matplotlib: 3.6.3
272s Freetype: 2.13.2
272s rootdir: /tmp/autopkgtest.a7vquV/autopkgtest_tmp
272s plugins: arraydiff-0.6.0, remotedata-0.4.1, doctestplus-1.0.0,
hypothesis-6.88.4, astropy-header-0.2.2, astropy-0.11.0,
filter-subpackage-0.1.2, mpl-0.0.0, mock-3.11.1, cov-4.1.0
272s collected 0 items / 1 error
272s
272s ==================================== ERRORS
====================================
272s ________________________ ERROR collecting test session
_________________________
272s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:641: in
_importconftest
272s mod = import_path(conftestpath, mode=importmode, root=rootpath)
272s /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
272s importlib.import_module(module_name)
272s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
272s return _bootstrap._gcd_import(name[level:], package, level)
272s <frozen importlib._bootstrap>:1381: in _gcd_import
272s ???
272s <frozen importlib._bootstrap>:1354: in _find_and_load
272s ???
272s <frozen importlib._bootstrap>:1304: in _find_and_load_unlocked
272s ???
272s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
272s ???
272s <frozen importlib._bootstrap>:1381: in _gcd_import
272s ???
272s <frozen importlib._bootstrap>:1354: in _find_and_load
272s ???
272s <frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
272s ???
272s <frozen importlib._bootstrap>:929: in _load_unlocked
272s ???
272s <frozen importlib._bootstrap_external>:994: in exec_module
272s ???
272s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
272s ???
272s /usr/lib/python3/dist-packages/aplpy/__init__.py:14: in <module>
272s from .core import FITSFigure # noqa
272s /usr/lib/python3/dist-packages/aplpy/core.py:1: in <module>
272s from distutils import version
272s E ModuleNotFoundError: No module named 'distutils'
272s =========================== short test summary info
============================
272s ERROR - ModuleNotFoundError: No module named 'distutils'
272s !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
!!!!!!!!!!!!!!!!!!!!
272s =============================== 1 error in 0.28s
===============================
More information about the Debian-astro-maintainers
mailing list