Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-keyring for openSUSE:Factory checked in at 2022-09-21 14:41:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-keyring (Old) and /work/SRC/openSUSE:Factory/.python-keyring.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-keyring" Wed Sep 21 14:41:51 2022 rev:48 rq:1005041 version:23.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes 2022-09-18 17:32:00.049732091 +0200 +++ /work/SRC/openSUSE:Factory/.python-keyring.new.2083/python-keyring.changes 2022-09-21 14:42:43.817804521 +0200 @@ -1,0 +2,10 @@ +Tue Sep 20 16:18:23 UTC 2022 - Alexei Sorokin <sor.ale...@meowr.ru> + +- Update to version 23.9.3 (changes since 23.9.1): + * Fix wrong name in compatibility logic for properties + (masked by the compatibility fallback). + * Add workaround for devpi_client hook with wrapped + implementation. +- Add the missing python-jaraco.classes dependency. + +------------------------------------------------------------------- Old: ---- keyring-23.9.1.tar.gz New: ---- keyring-23.9.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-keyring.spec ++++++ --- /var/tmp/diff_new_pack.6MVUlT/_old 2022-09-21 14:42:44.321805918 +0200 +++ /var/tmp/diff_new_pack.6MVUlT/_new 2022-09-21 14:42:44.329805940 +0200 @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-keyring%{psuffix} -Version: 23.9.1 +Version: 23.9.3 Release: 0 Summary: System keyring service access from Python License: MIT AND Python-2.0 @@ -41,6 +41,7 @@ Requires: python-SecretStorage >= 3 Requires: python-entrypoints Requires: python-importlib-metadata +Requires: python-jaraco.classes Requires: python-jeepney >= 0.4.2 Requires: python-setuptools Requires(post): update-alternatives @@ -50,6 +51,7 @@ BuildRequires: %{python_module SecretStorage >= 3} BuildRequires: %{python_module entrypoints} BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module jaraco.classes} BuildRequires: %{python_module keyring = %{version}} BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module toml} ++++++ keyring-23.9.1.tar.gz -> keyring-23.9.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-23.9.1/CHANGES.rst new/keyring-23.9.3/CHANGES.rst --- old/keyring-23.9.1/CHANGES.rst 2022-09-05 01:30:36.000000000 +0200 +++ new/keyring-23.9.3/CHANGES.rst 2022-09-17 22:14:50.000000000 +0200 @@ -1,3 +1,14 @@ +v23.9.3 +------- + +* #596: Add workaround for devpi_client hook with wrapped implementation. + +v23.9.2 +------- + +* #597: Fixed wrong name in compatibility logic for ``properties`` + (masked by the compatibility fallback). + v23.9.1 ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-23.9.1/PKG-INFO new/keyring-23.9.3/PKG-INFO --- old/keyring-23.9.1/PKG-INFO 2022-09-05 01:31:07.461742000 +0200 +++ new/keyring-23.9.3/PKG-INFO 2022-09-17 22:15:30.299740300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: keyring -Version: 23.9.1 +Version: 23.9.3 Summary: Store and access your passwords safely. Home-page: https://github.com/jaraco/keyring Author: Kang Zhang diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-23.9.1/conftest.py new/keyring-23.9.3/conftest.py --- old/keyring-23.9.1/conftest.py 2022-09-05 01:30:36.000000000 +0200 +++ new/keyring-23.9.3/conftest.py 2022-09-17 22:14:50.000000000 +0200 @@ -19,5 +19,3 @@ collect_ignore.extend(['keyring/backends/macOS/api.py'] * macos_api_ignore()) - -collect_ignore.append('keyring/devpi_client.py') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-23.9.1/keyring/_compat.py new/keyring-23.9.3/keyring/_compat.py --- old/keyring-23.9.1/keyring/_compat.py 2022-09-05 01:30:36.000000000 +0200 +++ new/keyring-23.9.3/keyring/_compat.py 2022-09-17 22:14:50.000000000 +0200 @@ -2,6 +2,6 @@ try: - from jaraco.compat import properties # pragma: no-cover + from jaraco.classes import properties # pragma: no-cover except ImportError: from . import _properties_compat as properties # pragma: no-cover diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-23.9.1/keyring/devpi_client.py new/keyring-23.9.3/keyring/devpi_client.py --- old/keyring-23.9.1/keyring/devpi_client.py 2022-09-05 01:30:36.000000000 +0200 +++ new/keyring-23.9.3/keyring/devpi_client.py 2022-09-17 22:14:50.000000000 +0200 @@ -1,19 +1,34 @@ import contextlib +import functools -from pluggy import HookimplMarker +import pluggy -import keyring -from keyring.errors import KeyringError +import keyring.errors -hookimpl = HookimplMarker("devpiclient") +hookimpl = pluggy.HookimplMarker("devpiclient") # https://github.com/jaraco/jaraco.context/blob/c3a9b739/jaraco/context.py#L205 suppress = type('suppress', (contextlib.suppress, contextlib.ContextDecorator), {}) +def restore_signature(func): + # workaround for pytest-dev/pluggy#358 + @functools.wraps(func) + def wrapper(url, username): + return func(url, username) + + return wrapper + + @hookimpl() -@suppress(KeyringError) +@restore_signature +@suppress(keyring.errors.KeyringError) def devpiclient_get_password(url, username): + """ + >>> pluggy._hooks.varnames(devpiclient_get_password) + (('url', 'username'), ()) + >>> + """ return keyring.get_password(url, username) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-23.9.1/keyring.egg-info/PKG-INFO new/keyring-23.9.3/keyring.egg-info/PKG-INFO --- old/keyring-23.9.1/keyring.egg-info/PKG-INFO 2022-09-05 01:31:07.000000000 +0200 +++ new/keyring-23.9.3/keyring.egg-info/PKG-INFO 2022-09-17 22:15:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: keyring -Version: 23.9.1 +Version: 23.9.3 Summary: Store and access your passwords safely. Home-page: https://github.com/jaraco/keyring Author: Kang Zhang