[Debichem-devel] Bug#1056457: python-ase's autopkg tests fail with Python 3.12
Graham Inggs
ginggs at debian.org
Mon Jan 8 06:46:45 GMT 2024
Control: severity -1 important
Hi s3v
Thank you for all the links to the upstream commits. I have applied
them, and python-ase now builds successfully (closing #1056184).
However, since spglib stopped building its extension for all supported
Python versions (see #1057858) testing python-ase against Python 3.12
now fails with:
531s INTERNALERROR> Traceback (most recent call last):
531s INTERNALERROR> File
"/usr/lib/python3/dist-packages/spglib/spglib.py", line 41, in
<module>
531s INTERNALERROR> from spglib import _spglib as spg
531s INTERNALERROR> ImportError: cannot import name '_spglib' from
partially initialized module 'spglib' (most likely due to a circular
import) (/usr/lib/python3/dist-packages/spglib/__init__.py)
Therefore, I let python-ase only test against the default Python
version [1], and lower the severity of this bug, until either Python
3.12 is the default, or spglib builds its extension for all supported
Python versions again.
Regards
Graham
[1] https://salsa.debian.org/debichem-team/python-ase/-/commit/b33055fd68da81e1806e7a0f0dd65dc5b53fc3b2
More information about the Debichem-devel
mailing list