[Python-modules-team] Bug#874673: python-keyring: CLI tool is not properly installed

Matthew Gabeler-Lee cheetah at fastcat.org
Fri Sep 8 15:27:32 UTC 2017


Package: python-keyring
Version: 10.1-1
Severity: normal

This package comes with a command line helper tool, but it is not installed
properly as such as part of the package.

/usr/lib/python2.7/dist-packages/keyring/cli.py is installed, but not as a
tool in /usr/bin/, and further it cannot even be run directly from the
location it is installed:

$ python /usr/lib/python2.7/dist-packages/keyring/cli.py
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/keyring/cli.py", line 10, in <module>
    from . import get_keyring, set_keyring, get_password, set_password, delete_password
ValueError: Attempted relative import in non-package

The python3-keyring version of the package seems to have this same issue
based on the file list, though I haven't tried installing it to verify
directly.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages python-keyring depends on:
ii  python                2.7.13-2
ii  python-dbus           1.2.4-1+b1
ii  python-secretstorage  2.3.1-2

Versions of packages python-keyring recommends:
pn  python-keyrings.alt  <none>

Versions of packages python-keyring suggests:
ii  gnome-keyring     3.20.0-3
pn  libkf5wallet-bin  <none>

-- no debconf information



More information about the Python-modules-team mailing list