diff --git a/keyring-18.0.1.tar.gz b/keyring-18.0.1.tar.gz deleted file mode 100644 index 1cf473e..0000000 --- a/keyring-18.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838 -size 48559 diff --git a/keyring-21.2.0.tar.gz b/keyring-21.2.0.tar.gz new file mode 100644 index 0000000..7575175 --- /dev/null +++ b/keyring-21.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:197fd5903901030ef7b82fe247f43cfed2c157a28e7747d1cfcf4bc5e699dd03 +size 53978 diff --git a/python-keyring.changes b/python-keyring.changes index ff3ff84..1db4eba 100644 --- a/python-keyring.changes +++ b/python-keyring.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Thu Apr 16 08:27:33 UTC 2020 - pgajdos@suse.com + +- version update to 21.2.0 + v21.2.0 + ------- + * #372: Chainer now deterministically resolves at a lower + priority than the Fail keyring (when there are no backends + to chain). + * #372: Fail keyring now raises a ``NoKeyringError`` for + easier selectability. + * #405: Keyring now logs at DEBUG rather than INFO during + backend startup. + v21.1.1 + ------- + * Refreshed package metadata. + v21.1.0 + ------- + * #380: In SecretService backend, close connections after + using them. + v21.0.0 + ------- + * Require Python 3.6 or later. + v20.0.1 + ------- + * #417: Fix TypeError when backend fails to initialize. + v20.0.0 + ------- + * Extracted ``keyring.testing`` package to contain supporting + functionality for plugin backends. ``keyring.tests`` has been + removed from the package. + v19.3.0 + ------- + * Switch to `importlib.metadata + `_ + for loading entry points. Removes one dependency on Python 3.8. + * Added new ``KeyringBackend.set_properties_from_env``. + * #382: Add support for alternate persistence scopes for Windows + backend. Set ``.persist`` to "local machine" or "session" + to enable the alternate scopes or "enterprise" to use the + default scope. + * #404: Improve import times when a backend is specifically + configured by lazily calling ``get_all_keyring``. + 19.2.0 + ------ + * Add support for get_credential() with the SecretService backend. + 19.1.0 + ------ + * #369: macOS Keyring now honors a ``KEYCHAIN_PATH`` + environment variable. If set, Keyring will use that + keychain instead of the default. + 19.0.2 + ------ + * Refresh package skeleton. + * Adopt `black `_ code style. + 19.0.1 + ------ + * Merge with 18.0.1. + ------------------------------------------------------------------- Thu Mar 28 21:08:23 UTC 2019 - Jan Engelhardt diff --git a/python-keyring.spec b/python-keyring.spec index dea7db8..037b79b 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -1,7 +1,7 @@ # # spec file for package python-keyring # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-keyring -Version: 18.0.1 +Version: 21.2.0 Release: 0 Summary: System keyring service access from Python License: Python-2.0 AND MIT Group: Development/Languages/Python URL: https://github.com/jaraco/keyring Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz -BuildRequires: %{python_module SecretStorage} +BuildRequires: %{python_module SecretStorage >= 3} BuildRequires: %{python_module entrypoints} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module setuptools >= 17.1} BuildRequires: %{python_module setuptools_scm >= 1.15.0} +BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-SecretStorage +Requires: python-SecretStorage >= 3 Requires: python-entrypoints +Requires: python-jeepney >= 0.4.2 Requires: python-setuptools BuildArch: noarch %python_subpackages @@ -47,7 +50,7 @@ from python. It can be used in any application that needs safe password storage. %setup -q -n keyring-%{version} # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' keyring/cli.py -sed -i -e 's,--flake8,,' pytest.ini +sed -i -e 's,--flake8,,' -e 's,--black,,' -e 's,--cov,,' pytest.ini %build %python_build @@ -57,10 +60,7 @@ sed -i -e 's,--flake8,,' pytest.ini %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# sadly most tests need running dbus to communicate with secretstorage/etc -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -py.test-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 -} +%pytest %files %{python_files} %doc README.rst CHANGES.rst