diff --git a/keyring-23.0.1.tar.gz b/keyring-23.0.1.tar.gz deleted file mode 100644 index 5476968..0000000 --- a/keyring-23.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8 -size 59185 diff --git a/keyring-23.2.1.tar.gz b/keyring-23.2.1.tar.gz new file mode 100644 index 0000000..5c3a444 --- /dev/null +++ b/keyring-23.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6334aee6073db2fb1f30892697b1730105b5e9a77ce7e61fca6b435225493efe +size 53996 diff --git a/python-keyring.changes b/python-keyring.changes index c97e31f..39c25ed 100644 --- a/python-keyring.changes +++ b/python-keyring.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 24 09:21:13 UTC 2021 - Steve Kowalik + +- Update to 23.2.1: + * #530: In libsecret tests, use a session collection to allow tests + to pass on Debian. + * #521: Add libsecret backend. + * #519: macOS backend APIs updated to newer, non-legacy APIs. +- Add patch support-new-importlib.patch: + * Support new importlib-metadata. + ------------------------------------------------------------------- Thu Jun 17 14:52:19 UTC 2021 - Matej Cepl diff --git a/python-keyring.spec b/python-keyring.spec index b0286c1..97cab3c 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-keyring -Version: 23.0.1 +Version: 23.2.1 Release: 0 Summary: System keyring service access from Python License: MIT AND Python-2.0 -Group: Development/Languages/Python URL: https://github.com/jaraco/keyring Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz -# Patch: fix-kwallet-tests.patch +Patch0: support-new-importlib.patch BuildRequires: %{python_module SecretStorage >= 3} BuildRequires: %{python_module entrypoints} BuildRequires: %{python_module importlib-metadata} diff --git a/support-new-importlib.patch b/support-new-importlib.patch new file mode 100644 index 0000000..ad43ffc --- /dev/null +++ b/support-new-importlib.patch @@ -0,0 +1,13 @@ +Index: keyring-23.2.1/tests/test_packaging.py +=================================================================== +--- keyring-23.2.1.orig/tests/test_packaging.py ++++ keyring-23.2.1/tests/test_packaging.py +@@ -9,7 +9,7 @@ def test_entry_point(): + that's a callable. + """ + matches = metadata.entry_points(group='console_scripts', name='keyring') +- (script,) = matches ++ script = matches[0] + assert callable(script.load()) + +