Package Details: python2-mercurial_keyring 1.1.2-2

Git Clone URL: (read-only)
Package Base: python2-mercurial_keyring
Description: Mercurial Keyring Extension
Upstream URL:
Licenses: BSD
Submitter: bins
Maintainer: tsachev
Last Packager: tsachev
Votes: 7
Popularity: 0.000000
First Submitted: 2010-10-27 15:07
Last Updated: 2016-04-22 19:20

Latest Comments

krevedko commented on 2016-06-14 09:20

Thank you, works for me.
Only added this into ~/.local/share/python_keyring/keyringrc.cfg:


because, python2-keyring opens kwallet by default.

And installed python2-keyrings-alt manually.
Is dependency for python-keyrings-alt valid? Maybe it should be python2-keyrings-alt?

tsachev commented on 2016-04-18 09:28

sorry about that I've been silent for so long. I have updated the package.
Can you check if it works for you?

tsdh commented on 2016-04-18 05:36

@marwy: Indeed, with community/python2-keyrings-alt installed, the keyring extension works again (though I had to reinstall it first). Thanks for the hint!

tsdh commented on 2016-04-15 17:08

@marwy I didn't see your comment but I'll try that out at work on Monday and report back. But still it wouldn't hurt if this package was upgraded anytime now. The current mercurial_keyring extension is 1.1.2...

marwy commented on 2016-02-19 21:29

FWIW, @tsdh, installing python2-keyrings-alt fixed this issue for me.

tsdh commented on 2016-01-26 06:23

After the upgrade of community/python2-keyring 7.3-1 -> 8.1.1-1, the python2-mercurial_keyring 0.6.7-1 extension is broken. When I execute a hg command that requires authentication, I get this error:

pulling from https://hser@srv/path/to/repo
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.11 (default, Dec 6 2015, 15:43:46) [GCC 5.2.0]
** Mercurial Distributed SCM (version 3.5.1)
** Extensions loaded: pager, color, rebase, mercurial_keyring, strip, hgk
Traceback (most recent call last):
File "/usr/bin/hg", line 43, in <module>
File "/usr/lib/python2.7/site-packages/mercurial/", line 30, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib/python2.7/site-packages/mercurial/", line 92, in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/site-packages/mercurial/", line 163, in _runcatch
return _dispatch(req)
File "/usr/lib/python2.7/site-packages/mercurial/", line 895, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/site-packages/mercurial/", line 656, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/site-packages/mercurial/", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib/python2.7/site-packages/hgext/", line 525, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/usr/lib/python2.7/site-packages/mercurial/", line 1013, in _runcommand
return checkargs()
File "/usr/lib/python2.7/site-packages/mercurial/", line 982, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/site-packages/mercurial/", line 892, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/site-packages/mercurial/", line 792, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/", line 514, in __call__
return util.checksignature(self.fn)(ui, *args, **opts)
File "/usr/lib/python2.7/site-packages/mercurial/", line 792, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib/python2.7/site-packages/mercurial/", line 792, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/hgext/", line 1072, in pullrebase
orig(ui, repo, *args, **opts)
File "/usr/lib/python2.7/site-packages/mercurial/", line 792, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/", line 5140, in pull
other = hg.peer(repo, opts, source)
File "/usr/lib/python2.7/site-packages/mercurial/", line 146, in peer
return _peerorrepo(rui, path, create).peer()
File "/usr/lib/python2.7/site-packages/mercurial/", line 123, in _peerorrepo
obj = _peerlookup(path).instance(ui, path, create)
File "/usr/lib/python2.7/site-packages/mercurial/", line 265, in instance
File "/usr/lib/python2.7/site-packages/mercurial/", line 60, in _fetchcaps
self.caps = set(self._call('capabilities').split())
File "/usr/lib/python2.7/site-packages/mercurial/", line 174, in _call
fp = self._callstream(cmd, **args)
File "/usr/lib/python2.7/site-packages/mercurial/", line 121, in _callstream
resp =
File "/usr/lib/python2.7/", line 437, in open
response = meth(req, response)
File "/usr/lib/python2.7/", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/", line 469, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/", line 409, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/", line 911, in http_error_401
url, req, headers)
File "/usr/lib/python2.7/site-packages/mercurial/", line 450, in http_error_auth_reqed
self, auth_header, host, req, headers)
File "/usr/lib/python2.7/site-packages/", line 416, in basic_http_error_auth_reqed
return basic_http_error_auth_reqed.orig(self, authreq, host, req, headers)
File "/usr/lib/python2.7/", line 889, in http_error_auth_reqed
return self.retry_http_basic_auth(host, req, realm)
File "/usr/lib/python2.7/site-packages/mercurial/", line 453, in retry_http_basic_auth
user, pw = self.passwd.find_user_password(realm, req.get_full_url())
File "/usr/lib/python2.7/site-packages/", line 410, in find_user_password
return self._pwd_handler.find_auth(self, realm, authuri, req)
File "/usr/lib/python2.7/site-packages/", line 261, in find_auth
pwd = password_store.get_http_password(keyring_url, user)
File "/usr/lib/python2.7/site-packages/", line 134, in get_http_password
self._format_http_key(url, username))
File "/usr/lib/python2.7/site-packages/", line 155, in _read_password_from_keyring
password = keyring.get_password(KEYRING_SERVICE, pwdkey)
File "/usr/lib/python2.7/site-packages/keyring/", line 42, in get_password
return _keyring_backend.get_password(service_name, username)
File "/usr/lib/python2.7/site-packages/keyring/backends/", line 18, in get_password
raise RuntimeError("No recommended backend was available")
RuntimeError: No recommended backend was available

tsachev commented on 2013-07-05 10:23

please update to 0.5.6 which fixes

ankurs47 commented on 2013-02-13 05:14

bumped the version to 0.5.4.

dumphblooz commented on 2013-02-13 01:23

configparser module not found with Mercurial 2.5

Please, bump version to 0.5.4!

dumphblooz commented on 2013-02-12 02:27

After install:

$ yaourt -S python2-keyring python2-mercurial_keyring

I've got error:

$ hg out
comparing with https://repo/bla/bla
abort: No module named configparser!

lunaryorn commented on 2012-11-30 14:34

Please change python-keyring to python2-keyring.

bins commented on 2012-07-11 19:58

sorry, I am not using mercurial in anger anymore... feel free to pick it up.