Replacement for the gone gpgme Python library?
Sebastian Wagner
sebastian.wagner at intevation.de
Fri Jul 11 08:50:54 CEST 2025
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250711/98a876ba/attachment-0001.sig>
More information about the Gnupg-users
mailing list