diff --git a/keyring-10.5.0.tar.gz b/keyring-10.5.0.tar.gz deleted file mode 100644 index 12e1249..0000000 --- a/keyring-10.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e6129e8c5bc80da34cc1942d30daad79ed40419fcaaa538278c3b2ff235b313 -size 40664 diff --git a/keyring-13.0.0.tar.gz b/keyring-13.0.0.tar.gz new file mode 100644 index 0000000..8fe2c2d --- /dev/null +++ b/keyring-13.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd188c7d40e6778e18d330a96d0bef77bffc109dad82270133e3969908016862 +size 42883 diff --git a/python-keyring.changes b/python-keyring.changes index 0acbf1f..90d7ba5 100644 --- a/python-keyring.changes +++ b/python-keyring.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Sat Jun 23 06:58:48 UTC 2018 - tchvatal@suse.com + +- Version update to 13.0.0: + * #327: In kwallet backend, if the collection or item is + locked, a ``KeyringLocked`` exception is raised. Clients + expecting a None response from ``get_password`` under + this condition will need to catch this exception. + Additionally, an ``InitError`` is now raised if the + connection cannot be established to the DBus. + * #298: In kwallet backend, when checking an existing + handle, verify that it is still valid or create a new + connection. + * Fixed issue in SecretService. Ref #226. + * #322: Fix AttributeError when ``escape.__builtins__`` + is a dict. + * Deprecated ``keyring.util.escape`` module. If you use + this module or encounter the warning (on the latest + release of your packages), please `file a ticket + `_. + * Unpin SecretStorage on Python 3.5+. Requires that + Setuptools 17.1 be used. Note that the special + handling will be unnecessary once Pip 9 can be + assumed (as it will exclude SecretStorage 3 in + non-viable environments). + * #310: Keyring now loads all backends through entry + points. + * #312: Use ``entrypoints`` instead of pkg_resources to + avoid performance hit loading pkg_resources. Adds + a dependency on ``entrypoints``. + * #294: No longer expose ``keyring.__version__`` (added + in 8.1) to avoid performance hit loading pkg_resources. + * #299: Keyring exceptions are now derived from a base + ``keyring.errors.KeyringError``. + * #296: Prevent AttributeError on import when Debian has + created broken dbus installs. + ------------------------------------------------------------------- Wed Jan 24 10:27:23 UTC 2018 - tchvatal@suse.com diff --git a/python-keyring.spec b/python-keyring.spec index 5634164..1d36757 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-keyring -Version: 10.5.0 +Version: 13.0.0 Release: 0 Summary: Store and access your passwords safely License: Python-2.0 AND MIT @@ -27,13 +27,17 @@ 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 devel} +BuildRequires: %{python_module entrypoints} BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 3.5} +BuildRequires: %{python_module pytest-flake8} +BuildRequires: %{python_module pytest-sugar >= 0.9.1} +BuildRequires: %{python_module setuptools >= 17.1} BuildRequires: %{python_module setuptools_scm >= 1.15.0} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-SecretStorage +Requires: python-entrypoints Requires: python-setuptools BuildArch: noarch %python_subpackages @@ -55,11 +59,11 @@ sed -i '/^#!/d' keyring/cli.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -pushd docs -%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}" -py.test-%{$python_bin_suffix} --pyargs keyring.tests -} -popd +# remove test expecting the /usr/bin +rm -rf tests/test_packaging.py +# sadly most tests need running dbus to communicate with secretstorage/etc +%{python_expand rm -rf _build* +py.test-%{$python_bin_suffix}} %files %{python_files} %doc README.rst CHANGES.rst