Dear gnupg community

what is the correct replacement for the gone gpgme library?
https://pypi.org/project/gpgme/
which has vanished somewhere between June 10th and June 18th

The library published as gpg (https://pypi.org/project/gpgme/) is not a replacement as that itself depends on the deleted gpgme (or is broken itself):

|     import gpg
| /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gpg/__init__.py:101: in <module>
|     from . import core
| /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gpg/core.py:34: in <module>
|     from . import gpgme
| E ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gpg/__init__.py)

The error message is a bit different on 3.13:

|     import gpg
| /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/gpg/__init__.py:101: in <module>
|     from . import core
| /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/gpg/core.py:34: in <module>
|     from . import gpgme
| /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/gpg/gpgme.py:13: in <module>
|     from . import _gpgme
| E ImportError: dynamic module does not define module export function (PyInit__gpgme)

best regards

--
Sebastian Wagner  |  +49-541-335083-164  |  https://intevation.de
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to