Debian Bug report logs - #871465
python3-gpg package should ship tofu module

version graph

Package: python3-gpg; Maintainer for python3-gpg is Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>; Source for python3-gpg is src:gpgme1.0 (PTS, buildd, popcon).

Affects: dput

Reported by: Jonathan Carter <jcarter@linux.com>

Date: Tue, 8 Aug 2017 07:15:02 UTC

Severity: serious

Merged with 871609

Found in version gpgme1.0/1.9.0-2

Fixed in version gpgme1.0/1.9.0-3

Done: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ben Finney <bignose@debian.org>:
Bug#871465; Package dput. (Tue, 08 Aug 2017 07:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jonathan Carter <jcarter@linux.com>:
New Bug report received and forwarded. Copy sent to Ben Finney <bignose@debian.org>. (Tue, 08 Aug 2017 07:15:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jonathan Carter <jcarter@linux.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dput seems to miss a dependency on python3-tofu
Date: Tue, 08 Aug 2017 03:11:40 -0400
Package: dput
Version: 1.0.0
Severity: serious
Justification: Policy 7.2

Dear Maintainer,

When running version 1.0.0 of dput, I receive the following error:

"""
Traceback (most recent call last):
  File "/usr/bin/dput", line 11, in <module>
    load_entry_point('dput==1.0.0', 'console_scripts', 'execute-dput')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
564, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2662, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2316, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2322, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/share/dput/dput/dput.py", line 28, in <module>
    from . import crypto
  File "/usr/share/dput/dput/crypto.py", line 14, in <module>
    import gpg
  File "/usr/lib/python3/dist-packages/gpg/__init__.py", line 101, in
<module>
    from . import core
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 36, in <module>
    from . import constants
  File "/usr/lib/python3/dist-packages/gpg/constants/__init__.py", line
28, in <module>
    from . import data, keylist, sig, tofu # The subdirs.
ImportError: cannot import name 'tofu'
"""

The package seems to require python3-tofu, which doesn't seem to be packaged in Debian currently.

Thanks for taking care of this package,

-Jonathan


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dput depends on:
ii  python3                3.5.3-3
ii  python3-debian         0.1.30
ii  python3-gpg            1.9.0-2
ii  python3-pkg-resources  36.2.7-1

dput recommends no packages.

Versions of packages dput suggests:
ii  lintian         2.5.52
pn  mini-dinstall   <none>
ii  openssh-client  1:7.5p1-5
ii  rsync           3.1.2-2

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Ben Finney <bignose@debian.org>:
Bug#871465; Package dput. (Tue, 08 Aug 2017 09:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Ben Finney <bignose@debian.org>. (Tue, 08 Aug 2017 09:57:02 GMT) (full text, mbox, link).


Message #10 received at 871465@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Jonathan Carter <jcarter@linux.com>, 871465@bugs.debian.org
Cc: Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>
Subject: Re: Bug#871465: dput seems to miss a dependency on python3-tofu
Date: Tue, 8 Aug 2017 12:51:59 +0300
Control: reassign -1 python3-gpg 1.9.0-2
Control: affects -1 dput

On Tue, Aug 08, 2017 at 03:11:40AM -0400, Jonathan Carter wrote:
> Package: dput
> Version: 1.0.0
> Severity: serious
>...
>   File "/usr/lib/python3/dist-packages/gpg/constants/__init__.py", line
> 28, in <module>
>     from . import data, keylist, sig, tofu # The subdirs.
> ImportError: cannot import name 'tofu'
> """
>...
> Versions of packages dput depends on:
>...
> ii  python3-gpg            1.9.0-2
>...

This is a bug in the python3-gpg package in experimental.

tofu is part of gpgme and should be shipped in python3-gpg.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Bug reassigned from package 'dput' to 'python3-gpg'. Request was from Adrian Bunk <bunk@debian.org> to 871465-submit@bugs.debian.org. (Tue, 08 Aug 2017 09:57:03 GMT) (full text, mbox, link).


No longer marked as found in versions dput/1.0.0. Request was from Adrian Bunk <bunk@debian.org> to 871465-submit@bugs.debian.org. (Tue, 08 Aug 2017 09:57:03 GMT) (full text, mbox, link).


Marked as found in versions gpgme1.0/1.9.0-2. Request was from Adrian Bunk <bunk@debian.org> to 871465-submit@bugs.debian.org. (Tue, 08 Aug 2017 09:57:04 GMT) (full text, mbox, link).


Added indication that 871465 affects dput Request was from Adrian Bunk <bunk@debian.org> to 871465-submit@bugs.debian.org. (Tue, 08 Aug 2017 09:57:04 GMT) (full text, mbox, link).


Changed Bug title to 'python3-gpg doesn't ship tofu' from 'dput seems to miss a dependency on python3-tofu'. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Tue, 08 Aug 2017 09:57:06 GMT) (full text, mbox, link).


Merged 871465 871609 Request was from Ben Finney <bignose@debian.org> to 871609-submit@bugs.debian.org. (Wed, 09 Aug 2017 22:24:10 GMT) (full text, mbox, link).


Changed Bug title to 'python3-gpg: depends on, but does not install, ‘tofu’ module' from 'python3-gpg doesn't ship tofu'. Request was from bignose@jigong.madmonks.org (Ben Finney) to control@bugs.debian.org. (Thu, 10 Aug 2017 00:33:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>:
Bug#871465; Package python3-gpg. (Fri, 18 Aug 2017 00:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Extra info received and forwarded to list. Copy sent to Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>. (Fri, 18 Aug 2017 00:51:06 GMT) (full text, mbox, link).


Message #29 received at 871465@bugs.debian.org (full text, mbox, reply):

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: 871465@bugs.debian.org
Subject: Re: [pkg-gnupg-maint] Bug#871465: dput seems to miss a dependency on python3-tofu
Date: Thu, 17 Aug 2017 20:46:54 -0400
Control: retitle 871465 python3-gpg package should ship tofu module

On Tue 2017-08-08 12:51:59 +0300, Adrian Bunk wrote:
> On Tue, Aug 08, 2017 at 03:11:40AM -0400, Jonathan Carter wrote:
>>...
>>   File "/usr/lib/python3/dist-packages/gpg/constants/__init__.py", line
>> 28, in <module>
>>     from . import data, keylist, sig, tofu # The subdirs.
>> ImportError: cannot import name 'tofu'
>> """
>>...
>> Versions of packages dput depends on:
>>...
>> ii  python3-gpg            1.9.0-2
>>...
>
> This is a bug in the python3-gpg package in experimental.
>
> tofu is part of gpgme and should be shipped in python3-gpg.

  --dkg



Changed Bug title to 'python3-gpg package should ship tofu module' from 'python3-gpg: depends on, but does not install, ‘tofu’ module'. Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to 871465-submit@bugs.debian.org. (Fri, 18 Aug 2017 00:51:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Fri, 18 Aug 2017 02:33:02 GMT) (full text, mbox, link).


Message sent on to Jonathan Carter <jcarter@linux.com>:
Bug#871465. (Fri, 18 Aug 2017 02:33:05 GMT) (full text, mbox, link).


Message #36 received at 871465-submitter@bugs.debian.org (full text, mbox, reply):

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: 871465-submitter@bugs.debian.org
Subject: Bug#871465 marked as pending
Date: Fri, 18 Aug 2017 02:29:22 +0000
tag 871465 pending
thanks

Hello,

Bug #871465 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    https://anonscm.debian.org/cgit/pkg-gnupg/gpgme.git/commit/?id=b5f7cb1

---
commit b5f7cb174d80d3e252f947d6790f3e01f91ffa9e
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date:   Thu Aug 17 22:17:18 2017 -0400

    prepare debian release

diff --git a/debian/changelog b/debian/changelog
index 3958fa8..4bc0875 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+gpgme1.0 (1.9.0-3) unstable; urgency=medium
+
+  * imported cleanup+bugfixes from upstream
+  * removed unnecessary b-d on autoreconf
+  * drop unneeded DEBIAN_VERSION from debian/rules
+  * ship constants.tofu (Closes: #871465)
+  * Standards-Version: bump to 4.0.1 (extra -> optional)
+  * try to force python 3.6
+  * strip debian revision from new 1.9.0 symbols
+  * add the simplest possible python burn-in autopkgtest
+  * release to unstable
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>  Thu, 17 Aug 2017 22:16:47 -0400
+
 gpgme1.0 (1.9.0-2) experimental; urgency=medium
 
   * Remove Jose Carlos Garcia Sogo from Uploaders (Closes: #862622)



Reply sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
You have taken responsibility. (Fri, 18 Aug 2017 03:09:03 GMT) (full text, mbox, link).


Notification sent to Jonathan Carter <jcarter@linux.com>:
Bug acknowledged by developer. (Fri, 18 Aug 2017 03:09:03 GMT) (full text, mbox, link).


Message #41 received at 871465-close@bugs.debian.org (full text, mbox, reply):

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: 871465-close@bugs.debian.org
Subject: Bug#871465: fixed in gpgme1.0 1.9.0-3
Date: Fri, 18 Aug 2017 03:07:13 +0000
Source: gpgme1.0
Source-Version: 1.9.0-3

We believe that the bug you reported is fixed in the latest version of
gpgme1.0, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 871465@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <dkg@fifthhorseman.net> (supplier of updated gpgme1.0 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 17 Aug 2017 22:16:47 -0400
Source: gpgme1.0
Binary: libgpgme-dev libgpgme11 python3-gpg python-gpg libqgpgme7 libgpgmepp6 libgpgmepp-dev libgpgmepp-doc
Architecture: source
Version: 1.9.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>
Changed-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Description:
 libgpgme-dev - GPGME - GnuPG Made Easy (development files)
 libgpgme11 - GPGME - GnuPG Made Easy (library)
 libgpgmepp-dev - C++ and Qt bindings for GPGME (development files)
 libgpgmepp-doc - C++ and Qt bindings for GPGME (documentation for developers)
 libgpgmepp6 - C++ wrapper library for GPGME
 libqgpgme7 - library for GPGME integration with Qt
 python-gpg - Python interface to the GPGME GnuPG encryption library (Python 2)
 python3-gpg - Python interface to the GPGME GnuPG encryption library (Python 3)
Closes: 871465
Changes:
 gpgme1.0 (1.9.0-3) unstable; urgency=medium
 .
   * imported cleanup+bugfixes from upstream
   * removed unnecessary b-d on autoreconf
   * drop unneeded DEBIAN_VERSION from debian/rules
   * ship constants.tofu (Closes: #871465)
   * Standards-Version: bump to 4.0.1 (extra -> optional)
   * try to force python 3.6
   * strip debian revision from new 1.9.0 symbols
   * add the simplest possible python burn-in autopkgtest
   * release to unstable
Checksums-Sha1:
 72ba0f4b1a492fdfb0d982173da0a844201097df 2665 gpgme1.0_1.9.0-3.dsc
 643217283dd11f63421e41c3c45df99507f29180 63400 gpgme1.0_1.9.0-3.debian.tar.xz
 744722554a2a6c3097acdf485a54e7f366f7a9f9 14311 gpgme1.0_1.9.0-3_source.buildinfo
Checksums-Sha256:
 64b44f96cb0542f5f177551d33370259d5517032b5c951510b36f01fc6b2f278 2665 gpgme1.0_1.9.0-3.dsc
 4d85bef398e0ff3fe0225b1e7586d55ebcc64fc397cc91b17886564bca21f4a4 63400 gpgme1.0_1.9.0-3.debian.tar.xz
 9913677fb30554a731014c9b01e0ca0d4d1b4c501a25a58d626ae52b128bfc42 14311 gpgme1.0_1.9.0-3_source.buildinfo
Files:
 4dce08be1b2ecdeb173b4ab116fe37a7 2665 libs optional gpgme1.0_1.9.0-3.dsc
 94351db27b23ada667d07cb7ab82d56b 63400 libs optional gpgme1.0_1.9.0-3.debian.tar.xz
 f76943a850fc05e5a7515c3f9a94f2e8 14311 libs optional gpgme1.0_1.9.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlmWUM0ACgkQFJitxsGS
Mjcbig//dpgpqMwjYXTaKdcbibucHPNllHDL7BfYvzUeN1oQKX5oku2wV54vQFen
N5riTdfhAFa/VnCGvqBvj1L8uVOu1rABmOfkcyvZB2as2fHkhKyhDc+4rA6N/b2q
7kGqIgv4AFxvzRxY79PW6nQQgyNCXUmfJCV3dtoyB+BWWSrCqIpSsXasOkaGslX1
NEE1m/ps4XcZUldPZeuxQuPFWFToFjriM5mh23O/4ZCn3/m+3fOj+ZQ0GbOkuL42
7FJ5oFrlEiwAs7L+NMMBOoB/Blz/nk9hwjB6O4ExJA1ls7v7PSn4g4PcoFrEcILo
2rpePK2ZB/jVke5jqdDPtZ8EPalQcFAD/3ZMGsDw3x2T4TV82A+F+AqVwBx4Rppp
xo3MMdiVi75r3ZYs9Nqts5+vh/2cGnCfMm7aXy2szad3NvTHcXCDxvIqrDkNn4SM
D+z4eon6yNPvpMQ5PVjrJUSC1jRYkuaEcWfwI4zwXecoCiqWEOf/6Yl/ycDrqqrK
5Zq8267P65aMVwjy5qnuFqD4JK8a8557/5SVF0Pm4ewWR3bhKCGLd9c1GIvqW2FH
Dz02/cHS00P0wnijwPZICrG+r10K6IQl+I0dY7M6GqcYQqQrTZ/jfPgirkmv+Vvb
RJgjjNuoINS/zAtHmlHi5XRB7RdHbIViBOQ6TZtQJNKlmOnqmEs=
=GENF
-----END PGP SIGNATURE-----




Reply sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
You have taken responsibility. (Fri, 18 Aug 2017 03:09:04 GMT) (full text, mbox, link).


Notification sent to Aurélien COUDERC <zecoucou@free.fr>:
Bug acknowledged by developer. (Fri, 18 Aug 2017 03:09:04 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 15 Sep 2017 07:25:40 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 03:59:41 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.