- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=92
This commit is contained in:
Steve Kowalik 2021-09-24 09:22:36 +00:00 committed by Git OBS Bridge
parent 34cf29c9b8
commit c1e30050aa
5 changed files with 29 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8
size 59185

3
keyring-23.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6334aee6073db2fb1f30892697b1730105b5e9a77ce7e61fca6b435225493efe
size 53996

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Sep 24 09:21:13 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <mcepl@suse.com>

View File

@ -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}

View File

@ -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())