forked from pool/python-keyring
- 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:
13
support-new-importlib.patch
Normal file
13
support-new-importlib.patch
Normal 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())
|
||||
|
||||
|
Reference in New Issue
Block a user