Skip to content

Switch from gpg to python-gnupg #1630

Description

@meeuw

Is your feature request related to a problem? Please describe.
https://pypi.org/project/gpg/ hasn't been updated since 2018. I have trouble installing it because it fails with the following error:

Using gpgme.h from /usr/include/gpgme.h
Deprecated command line option: -py3. Ignored, this option is no longer supported.
build/gpgme.h:16: Error: CPP #error ""unexpected value for __WORDSIZE macro"". Use the -cpperraswarn option to continue swig processing.
error: command '/usr/bin/swig' failed with exit code 1

Describe the solution you'd like
Switch to python-gnupg which seems to be better maintained.

Describe alternatives you've considered
Make gpg optional in alot. (I'm currently not using gpg to sign/encrypt my mail).

Additional context
I noticed that there are tests for the crypto module in alot, I can try to create a PR porting everything to python-gnupg and make all the tests green but first I'd like to check if you agree on this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions