GNU bug report logs - #26610
python-gpg broke; python-gpg 1.9.0 does not exist

Previous Next

Package: guix;

Reported by: Christopher Allan Webber <cwebber <at> dustycloud.org>

Date: Sat, 22 Apr 2017 16:38:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 26610 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Vilata i Balaguer <ivan <at> selidor.net>
To: Leo Famulari <leo <at> famulari.name>
Cc: 26610 <at> debbugs.gnu.org, Ivan Vilata i Balaguer <ivan <at> selidor.net>
Subject: Re: bug#26610: python-gpg broke; python-gpg 1.9.0 does not exist
Date: Thu, 1 Jun 2017 10:43:33 +0200
[Message part 1 (text/plain, inline)]
Leo Famulari (2017-05-27 10:11:46 -0400) wrote:

> You can try changing the python-gpg package's version to the last
> available upstream version. On PyPi, that's 1.8.0.
> 
> Then, try rebuilding the packages that depend on python-gpg (`guix
> refresh -l python-gpg python2-gpg`).
> 
> Hopefully it all works. Then, you can send a patch with your fix :)
> 
> Let us know if you need help!

Ok, attaching the patch.  These are the steps I followed to test it:

 0. Apply the patch.

 1. Add ``python-gpg`` at the end of ``gnu/packages/gnupg.scm`` (sorry
    for my poor Scheme habilities).

 2. Run ``guix environment --ad-hoc -l gnu/packages/gnupg.scm python
    assword coreutils``.

 3. Import ``gpg`` in Python and check ``gpg.version.versionstr``, dump
    ``assword`` program to verify that it uses the same build of
    ``python-gnupg``.

 4. Run ``assword`` and check that everything works.

Probably many steps can be done better/more easily, but my knowledge is
very limited.  Links for improving that are welcome.`;)`

Thanks and cheers,

-- 
Ivan Vilata i Balaguer -- https://elvil.net/
[0001-gnu-python-gpg-Use-explicit-version-1.8.0-instead-of.patch (text/plain, attachment)]

This bug report was last modified 7 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.