[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26610: python-gpg broke; python-gpg 1.9.0 does not exist
From: |
Ivan Vilata i Balaguer |
Subject: |
bug#26610: python-gpg broke; python-gpg 1.9.0 does not exist |
Date: |
Thu, 1 Jun 2017 10:43:33 +0200 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
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
Description: Text document
- bug#26610: python-gpg broke; python-gpg 1.9.0 does not exist,
Ivan Vilata i Balaguer <=