Processed: Re: Bug#871609: dput fails to start with ImportError: cannot import name 'tofu'

2017-08-09 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 python3-gpg
Bug #871609 [dput] dput fails to start with ImportError: cannot import name 
'tofu'
Bug reassigned from package 'dput' to 'python3-gpg'.
No longer marked as found in versions dput/1.0.0.
Ignoring request to alter fixed versions of bug #871609 to the same values 
previously set
> forcemerge 871465 -1
Bug #871465 [python3-gpg] python3-gpg doesn't ship tofu
Bug #871609 [python3-gpg] dput fails to start with ImportError: cannot import 
name 'tofu'
Severity set to 'serious' from 'grave'
Added indication that 871609 affects dput
Marked as found in versions gpgme1.0/1.9.0-2.
Merged 871465 871609

-- 
871465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871465
871609: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871609
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#871609: dput fails to start with ImportError: cannot import name 'tofu'

2017-08-09 Thread Ben Finney
Control: reassign -1 python3-gpg
Control: forcemerge 871465 -1

On 09-Aug-2017, Aurélien COUDERC wrote:
> After upgrading to 1.0.0 form experimental, dput fails to start with
> the following stack trace:

Thank you for the report.

This has already been reported as bug#871465.

-- 
 \“The restriction of knowledge to an elite group destroys the |
  `\   spirit of society and leads to its intellectual |
_o__)impoverishment.” —Albert Einstein |
Ben Finney 


signature.asc
Description: PGP signature


Bug#871609: dput fails to start with ImportError: cannot import name 'tofu'

2017-08-09 Thread Aurélien COUDERC
Package: dput
Version: 1.0.0
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After upgrading to 1.0.0 form experimental, dput fails to start with the
following stack trace:

Traceback (most recent call last):
  File "/usr/bin/dput", line 11, in 
load_entry_point('dput==1.0.0', 'console_scripts', 'execute-dput')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 561, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2649,
in load_entry_point
return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2303,
in load
return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2309,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/share/dput/dput/dput.py", line 28, in 
from . import crypto
  File "/usr/share/dput/dput/crypto.py", line 14, in 
import gpg
  File "/usr/lib/python3/dist-packages/gpg/__init__.py", line 101, in 
from . import core
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 36, in 
from . import constants
  File "/usr/lib/python3/dist-packages/gpg/constants/__init__.py", line 28, in

from . import data, keylist, sig, tofu # The subdirs.
ImportError: cannot import name 'tofu'



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

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

Versions of packages dput depends on:
ii  python33.5.3-3
ii  python3-debian 0.1.30
ii  python3-gpg1.9.0-2
ii  python3-pkg-resources  36.0.1-1

dput recommends no packages.

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

-- no debconf information