14
0

Accepting request 1007083 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1007083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spotipy?expand=0&rev=8
This commit is contained in:
2022-09-30 15:57:59 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 6 deletions

View File

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

3
2.20.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Sep 29 13:02:28 UTC 2022 - Adrian Schröter <adrian@suse.de>
- 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

View File

@@ -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}