Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595312 - =dev-python/keyring-9.3.1 requires 'secretstorage' package in Linux
Summary: =dev-python/keyring-9.3.1 requires 'secretstorage' package in Linux
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-27 20:48 UTC by A.J.
Modified: 2017-09-17 16:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
secretstorage ebuild (secretstorage-2.3.1.ebuild,894 bytes, text/plain)
2016-09-27 21:23 UTC, A.J.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A.J. 2016-09-27 20:48:22 UTC
Running bugwarrior-pull (I have my own ebuild) I got:

apalmer@saba:~ $ bugwarrior-pull                                     
Traceback (most recent call last):
  File "/usr/bin/bugwarrior-pull", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2900, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2886, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 635, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 942, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'secretstorage' distribution was not found and is required by keyring

Turns out that =dev-python/keyring-9.3.1 was "stabilized" yesterday for bug 591318, and I built it today.  From the documentation ( http://pythonhosted.org/keyring/ ):

> These recommended keyring backends are supported by the Python keyring lib:
>
>    Mac OS X Keychain
>    Freedesktop Secret Service (requires secretstorage)
>    KWallet (requires dbus)
>    Windows Credential Vault
>
> Other keyring implementations are provided in the keyrings.alt package."

I tried installing the keyrings_alt package but it didn't make a difference.
Comment 1 A.J. 2016-09-27 21:23:49 UTC
Created attachment 448170 [details]
secretstorage ebuild

Attached ebuild (ripped off from keyring's ebuild, and modified to address upstream CamelCase and a couple of dependencies).  This fixed my issue.  Of course, keyring should be updated to depend on secretstorage.
Comment 2 Dennis Schridde 2017-09-17 16:13:34 UTC
dev-python/secretstorage-2.3.1 is available and dev-python/keyring-10.4.0 depends upon it. I believe this can be closed.