mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Upgrade keyring to 11.0.0 (#12082)
* Upgrade keyring to 11.0.0 * Address the removal of 'keyring.__version__'
This commit is contained in:
parent
81a6178931
commit
424fe95ce4
@ -5,7 +5,7 @@ import os
|
||||
|
||||
from homeassistant.util.yaml import _SECRET_NAMESPACE
|
||||
|
||||
REQUIREMENTS = ['keyring==10.6.0', 'keyrings.alt==2.3']
|
||||
REQUIREMENTS = ['keyring==11.0.0', 'keyrings.alt==2.3']
|
||||
|
||||
|
||||
def run(args):
|
||||
@ -29,7 +29,7 @@ def run(args):
|
||||
|
||||
if args.action == 'info':
|
||||
keyr = keyring.get_keyring()
|
||||
print('Keyring version {}\n'.format(keyring.__version__))
|
||||
print('Keyring version {}\n'.format(REQUIREMENTS[0].split('==')[1]))
|
||||
print('Active keyring : {}'.format(keyr.__module__))
|
||||
config_name = os.path.join(platform.config_root(), 'keyringrc.cfg')
|
||||
print('Config location : {}'.format(config_name))
|
||||
|
@ -425,7 +425,7 @@ jsonrpc-async==0.6
|
||||
jsonrpc-websocket==0.5
|
||||
|
||||
# homeassistant.scripts.keyring
|
||||
keyring==10.6.0
|
||||
keyring==11.0.0
|
||||
|
||||
# homeassistant.scripts.keyring
|
||||
keyrings.alt==2.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user