gpgme fails make check with python3-setuptools 73.0.1 (it worked with 70.3.0):
make[4]: Entering directory '/tmp/GPGME/gpgme/lang/python' set -e ; for PYTHON in /usr/bin/python3.12; do \ CPP="gcc -E" \ CFLAGS="-g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div" \ srcdir="." \ top_builddir="../.." \ $PYTHON setup.py build --verbose --build-base="$(basename "${PYTHON}")-gpg" ; \ done Using gpgme.h from ../../src/gpgme.h make[4]: Leaving directory '/tmp/GPGME/gpgme/lang/python' Making check in tests make[4]: Entering directory '/tmp/GPGME/gpgme/lang/python/tests' make all-am make[5]: Entering directory '/tmp/GPGME/gpgme/lang/python/tests' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/tmp/GPGME/gpgme/lang/python/tests' GNUPGHOME=/tmp/GPGME/gpgme/lang/python/tests LC_ALL=C GPG_AGENT_INFO= top_srcdir=../../.. srcdir=. LD_LIBRARY_PATH="../../../src/.libs:" /usr/bin/python3.12 ./run-tests.py \ --interpreters="/usr/bin/python3.12" --srcdir=. \ initial.py t-wrapper.py t-callbacks.py t-data.py t-encrypt.py t-encrypt-sym.py t-encrypt-sign.py t-sign.py t-signers.py t-decrypt.py t-verify.py t-decrypt-verify.py t-sig-notation.py t-export.py t-import.py t-edit.py t-keylist.py t-keylist-from-data.py t-wait.py t-encrypt-large.py t-file-name.py t-idiomatic.py t-protocol-assuan.py t-quick-key-creation.py t-quick-subkey-creation.py t-quick-key-manipulation.py t-quick-key-signing.py final.py Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./initial.py", line 24, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-wrapper.py", line 20, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-callbacks.py", line 24, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-data.py", line 25, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-encrypt.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-encrypt-sym.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-encrypt-sign.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-sign.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-signers.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-decrypt.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-verify.py", line 24, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-decrypt-verify.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-sig-notation.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-export.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-import.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-edit.py", line 25, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-keylist.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-keylist-from-data.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-wait.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-encrypt-large.py", line 24, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-file-name.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-idiomatic.py", line 26, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-protocol-assuan.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-quick-key-creation.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-quick-subkey-creation.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-quick-key-manipulation.py", line 23, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./t-quick-key-signing.py", line 22, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Traceback (most recent call last): File "/tmp/GPGME/gpgme/lang/python/tests/./final.py", line 24, in <module> import support File "/tmp/GPGME/gpgme/lang/python/tests/support.py", line 27, in <module> import gpg File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py", line 123, in <module> from . import core File "/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/tmp/GPGME/gpgme/lang/python/python3.12-gpg/lib.linux-x86_64-cpython-312/gpg/__init__.py) Running tests using /usr/bin/python3.12 (3.12)... FAIL: initial.py FAIL: t-wrapper.py FAIL: t-callbacks.py FAIL: t-data.py FAIL: t-encrypt.py FAIL: t-encrypt-sym.py FAIL: t-encrypt-sign.py FAIL: t-sign.py FAIL: t-signers.py FAIL: t-decrypt.py FAIL: t-verify.py FAIL: t-decrypt-verify.py FAIL: t-sig-notation.py FAIL: t-export.py FAIL: t-import.py FAIL: t-edit.py FAIL: t-keylist.py FAIL: t-keylist-from-data.py FAIL: t-wait.py FAIL: t-encrypt-large.py FAIL: t-file-name.py FAIL: t-idiomatic.py FAIL: t-protocol-assuan.py FAIL: t-quick-key-creation.py FAIL: t-quick-subkey-creation.py FAIL: t-quick-key-manipulation.py FAIL: t-quick-key-signing.py FAIL: final.py 28 tests run, 0 succeeded, 28 failed, 0 skipped. make[4]: *** [Makefile:628: xcheck] Error 28