• Bug#1056457: python-ase's autopkg tests fail with Python 3.12

    From Graham Inggs@21:1/5 to All on Mon Jan 8 08:00:01 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)