[Debichem-devel] Bug#1061814: openmm fails its autopkg tests with Python 3.12
Matthias Klose
doko at debian.org
Mon Jan 29 19:59:07 GMT 2024
Package: src:openmm
Version: 8.0.0+dfsg-6
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12
With python3-defaults from experimental, the package fails its autopkg
tests:
[...]
570s autopkgtest [13:47:34]: test command1: cd wrappers/python/tests &&
pytest-3
570s autopkgtest [13:47:34]: test command1: [-----------------------
571s ============================= test session starts
==============================
571s platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
571s rootdir: /tmp/autopkgtest.AtYQKL/build.ZhQ/src/wrappers/python/tests
571s configfile: pytest.ini
571s collected 68 items / 24 errors
571s
571s ==================================== ERRORS
====================================
571s _______________________ ERROR collecting TestAPIUnits.py
_______________________
571s ImportError while importing test module
'/tmp/autopkgtest.AtYQKL/build.ZhQ/src/wrappers/python/tests/TestAPIUnits.py'.
571s Hint: make sure your test modules/packages have valid Python names.
571s Traceback:
571s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
571s return _bootstrap._gcd_import(name[level:], package, level)
571s TestAPIUnits.py:5: in <module>
571s from openmm.app import *
571s /usr/lib/python3/dist-packages/openmm/app/__init__.py:25: in <module>
571s from .gromacstopfile import GromacsTopFile
571s /usr/lib/python3/dist-packages/openmm/app/gromacstopfile.py:45: in
<module>
571s import distutils.spawn
571s E ModuleNotFoundError: No module named 'distutils'
571s ___________________ ERROR collecting TestAmberInpcrdFile.py
____________________
571s ImportError while importing test module
'/tmp/autopkgtest.AtYQKL/build.ZhQ/src/wrappers/python/tests/TestAmberInpcrdFile.py'.
571s Hint: make sure your test modules/packages have valid Python names.
571s Traceback:
571s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
571s return _bootstrap._gcd_import(name[level:], package, level)
571s TestAmberInpcrdFile.py:2: in <module>
571s from validateConstraints import *
571s validateConstraints.py:1: in <module>
571s from openmm.app import *
571s /usr/lib/python3/dist-packages/openmm/app/__init__.py:25: in <module>
571s from .gromacstopfile import GromacsTopFile
571s /usr/lib/python3/dist-packages/openmm/app/gromacstopfile.py:45: in
<module>
571s import distutils.spawn
571s E ModuleNotFoundError: No module named 'distutils'
More information about the Debichem-devel
mailing list