14
0

Accepting request 1307742 from devel:languages:python

- update to 25.6.0:
  * Avoid logging a warning when config does not specify a
    backend.
  * When parsing keyring_path from the config, the home directory
    is now expanded from ~.
  * In get_credential, now returns None when the indicated
    username is not found.
  * Fixed ValueError for AnonymousCredentials in CLI.
  * Refined type spec and interfaces on credential objects.
    Introduced AnonymousCredential to model a secret without a
    username.
  * Deprecated support for empty usernames. Now all backends will
    reject an empty string as input for the 'username' field when
    setting a password. Later this deprecation will become a more
    visible user warning and even later an error. If this warning
    is triggered in your environment, please consider using a
    static value (even 'username') or comment in the issue and
    describe the use-case that demands support for empty
    usernames.

OBS-URL: https://build.opensuse.org/request/show/1307742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=63
This commit is contained in:
2025-09-30 15:34:46 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 5 deletions

BIN
keyring-25.2.1.tar.gz (Stored with Git LFS)

Binary file not shown.

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

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Sep 29 10:42:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 25.6.0:
* Avoid logging a warning when config does not specify a
backend.
* When parsing keyring_path from the config, the home directory
is now expanded from ~.
* In get_credential, now returns None when the indicated
username is not found.
* Fixed ValueError for AnonymousCredentials in CLI.
* Refined type spec and interfaces on credential objects.
Introduced AnonymousCredential to model a secret without a
username.
* Deprecated support for empty usernames. Now all backends will
reject an empty string as input for the 'username' field when
setting a password. Later this deprecation will become a more
visible user warning and even later an error. If this warning
is triggered in your environment, please consider using a
static value (even 'username') or comment in the issue and
describe the use-case that demands support for empty
usernames.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 21 09:28:37 UTC 2025 - Markéta Machová <mmachova@suse.com> Thu Aug 21 09:28:37 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-keyring # spec file for package python-keyring
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,7 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-keyring%{psuffix} Name: python-keyring%{psuffix}
Version: 25.2.1 Version: 25.6.0
Release: 0 Release: 0
Summary: System keyring service access from Python Summary: System keyring service access from Python
License: MIT License: MIT
@@ -65,6 +65,7 @@ Requires: python-importlib-metadata >= 4.11.4
%endif %endif
%if %{with test} %if %{with test}
BuildRequires: %{python_module keyring = %{version}} BuildRequires: %{python_module keyring = %{version}}
BuildRequires: %{python_module pyfakefs}
BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module pytest >= 3.5}
%endif %endif
%python_subpackages %python_subpackages