[Python-modules-team] Bug#886123: python3-keyring: cannot import name 'unicode_str'
ydirson at free.fr
ydirson at free.fr
Tue Jan 2 14:46:34 UTC 2018
Package: python3-keyring
Version: 10.5.1-1
After updating just this package on stretch to get the keyring binary:
$ keyring get mini-buildd admin
Error initializing plugin kwallet = keyrings.alt.kwallet.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/keyring/backend.py", line 171, in _load_plugins
init_func = ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/keyrings/alt/kwallet.py", line 6, in <module>
from keyring.py27compat import unicode_str
ImportError: cannot import name 'unicode_str'
Error initializing plugin Gnome = keyrings.alt.Gnome.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/keyring/backend.py", line 171, in _load_plugins
init_func = ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/keyrings/alt/Gnome.py", line 11, in <module>
from keyring.py27compat import unicode_str
ImportError: cannot import name 'unicode_str'
https://github.com/oemof/oemof.db/issues/30 hints to a bug in keyrings.alt fixed in 2.2, and
indeed upgrading it to 2.2 fixes the problem.
This package should probably declare "Breaks: python3-keyrings.alt (<< 2.2)" ?
More information about the Python-modules-team
mailing list