14
0

7 Commits

Author SHA256 Message Date
c225ba2ee2 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
2025-09-30 15:34:46 +00:00
bb918f464b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=140 2025-09-29 10:55:32 +00:00
e44e41b592 - 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/package/show/devel:languages:python/python-keyring?expand=0&rev=139
2025-09-29 10:42:27 +00:00
0ce8a623f4 Accepting request 1300741 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=62
2025-08-22 15:46:56 +00:00
7a0eac99cb - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=137
2025-08-21 09:29:01 +00:00
5902e264e2 Accepting request 1291938 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=61
2025-07-15 14:42:31 +00:00
030db6d68c - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=135
2025-07-11 10:43:21 +00:00
4 changed files with 53 additions and 7 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,36 @@
-------------------------------------------------------------------
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>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Fri Jul 11 10:42:52 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue May 14 08:11:26 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-keyring
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,9 +24,14 @@
%define psuffix %{nil}
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-keyring%{psuffix}
Version: 25.2.1
Version: 25.6.0
Release: 0
Summary: System keyring service access from Python
License: MIT
@@ -44,10 +49,14 @@ Requires: python-jaraco.classes
Requires: python-jaraco.context
Requires: python-jaraco.functools
Requires: python-jeepney >= 0.4.2
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
%if 0%{python_version_nodots} < 310
Requires: python-importlib-resources
%endif
@@ -56,6 +65,7 @@ Requires: python-importlib-metadata >= 4.11.4
%endif
%if %{with test}
BuildRequires: %{python_module keyring = %{version}}
BuildRequires: %{python_module pyfakefs}
BuildRequires: %{python_module pytest >= 3.5}
%endif
%python_subpackages
@@ -94,6 +104,9 @@ sed -i '/^#!/d' keyring/cli.py
%postun
%python_uninstall_alternative keyring
%pre
%python_libalternatives_reset_alternative keyring
%files %{python_files}
%doc README.rst NEWS.rst
%license LICENSE