From f848786960b55634cf47aff48af5dde51b45b005afc77997ad1a6cd92c559668 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 29 Sep 2022 19:06:35 +0000 Subject: [PATCH] Accepting request 1006951 from system:homeautomation:home-assistant:unstable - update to version 2.20.0 ### Added * Added `RedisCacheHandler`, a cache handler that stores the token info in Redis. * Changed URI handling in `client.Spotify._get_id()` to remove qureies if provided by error. * Added a new parameter to `RedisCacheHandler` to allow custom keys (instead of the default `token_info` key) * Simplify check for existing token in `RedisCacheHandler` OBS-URL: https://build.opensuse.org/request/show/1006951 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spotipy?expand=0&rev=18 --- 2.19.0.tar.gz | 3 --- 2.20.0.tar.gz | 3 +++ python-spotipy.changes | 10 ++++++++++ python-spotipy.spec | 9 ++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 2.19.0.tar.gz create mode 100644 2.20.0.tar.gz diff --git a/2.19.0.tar.gz b/2.19.0.tar.gz deleted file mode 100644 index 0f58d9d..0000000 --- a/2.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36c94b4b3beaa7979721272d84837ee4df3adb8ca6d32c5675b91b3823b4df12 -size 102703 diff --git a/2.20.0.tar.gz b/2.20.0.tar.gz new file mode 100644 index 0000000..b8d2749 --- /dev/null +++ b/2.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f14c44945520b5fc0c5bf985ea7767d2b86f5f666a69191d12a376919cf95ed +size 103437 diff --git a/python-spotipy.changes b/python-spotipy.changes index 1452a8f..ba380e8 100644 --- a/python-spotipy.changes +++ b/python-spotipy.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Sep 29 13:02:28 UTC 2022 - Adrian Schröter + +- update to version 2.20.0 + ### Added + * Added `RedisCacheHandler`, a cache handler that stores the token info in Redis. + * Changed URI handling in `client.Spotify._get_id()` to remove qureies if provided by error. + * Added a new parameter to `RedisCacheHandler` to allow custom keys (instead of the default `token_info` key) + * Simplify check for existing token in `RedisCacheHandler` + ------------------------------------------------------------------- Tue Apr 19 10:06:31 UTC 2022 - pgajdos@suse.com diff --git a/python-spotipy.spec b/python-spotipy.spec index 69b0b3b..be6b074 100644 --- a/python-spotipy.spec +++ b/python-spotipy.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-spotipy -Version: 2.19.0 +Version: 2.20.0 Release: 0 Summary: Client for the Spotify Web API License: MIT @@ -26,11 +26,14 @@ URL: https://spotipy.readthedocs.org/ # https://github.com/plamere/spotipy/issues/454 Source: https://github.com/plamere/spotipy/archive/%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module redis} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-requests >= 2.20.0 -Requires: python-six >= 1.10.0 +Requires: python-redis >= 3.5.3 +Requires: python-requests >= 2.25.0 +Requires: python-six >= 1.15.0 +Requires: python-urllib3 >= 1.26.0 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest}