[Python-modules-team] Bug#975596: dput-ng: traceback with ssh-upload when python3-gssapi is installed

Mattia Rizzolo mattia at debian.org
Tue Nov 24 10:20:45 GMT 2020


Control: reassign -1 python3-paramiko 2.4.2-0.1
Control: fixed -1 2.6.0-1

Hello Vagrant,

On Mon, Nov 23, 2020 at 02:09:30PM -0800, Vagrant Cascadian wrote:
> Package: dput-ng
> Version: 1.25+deb10u1
> Severity: normal
> 
> Thanks for maintaining dput-ng!
> 
> I've been uploading packages to Debian for years with this method, but
> it stopped working when I installed another package which pulled in
> python3-gssapi, and seems to work again when I remove python3-gssapi (or
> at least, gets further in the process).

> $ torsocks dput --debug --debug ssh-upload ../guix_1.2.0-1_source.changes
[…]
> [TRACE] 1606168132.642178: (load_obj) Loading object:
> dput.uploaders.sftp.SFTPUploader
> Traceback (most recent call last):
[…]
>   File "/usr/lib/python3/dist-packages/paramiko/ssh_gss.py", line 55, in
>   <module>
>     GSS_EXCEPTIONS = (gssapi.GSSException,)
> AttributeError: module 'gssapi' has no attribute 'GSSException'

This is actually a "problem" in paramiko.
It was caused by a naming clas between to different "gssapi" modules.
See these random github issues for reference:
https://github.com/paramiko/paramiko/pull/1439
https://github.com/paramiko/paramiko/pull/1311
https://github.com/paramiko/paramiko/issues/1068
etc etc.

It's allegedly fixed in paramiko 2.6.0, which is available in backports,
so you could try that.
Either way, I'm reassigning this bug to paramiko.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20201124/d6e0eba9/attachment.sig>


More information about the Python-modules-team mailing list