From be399fd089d4a4329871747f8fb9b2a43dcf70f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bruckert?= Date: Sun, 28 Feb 2021 14:53:02 +0100 Subject: [PATCH] Update urllib3, fixes #647 (#648) * Bump urllib3, fixes #647 * FAQ update --- CHANGELOG.md | 6 ++++++ FAQ.md | 4 ++++ setup.py | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3403e4..bfb835b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 // Add your changes here and then delete this line +## [2.17.1] - 2021-02-28 + +### Fixed + +- `allowed_methods` requires urllib3>=1.26.0 + ## [2.17.0] - 2021-02-28 ### Changed diff --git a/FAQ.md b/FAQ.md index 9388f5b..895e293 100644 --- a/FAQ.md +++ b/FAQ.md @@ -8,6 +8,10 @@ spotipy can only return fields documented on the Spotify web API https://develop Check out [this example Flask app](examples/app.py) +### How can I store tokens in a database rather than on the filesystem? + +See https://spotipy.readthedocs.io/en/latest/#customized-token-caching + ### Incorrect user Error: diff --git a/setup.py b/setup.py index bcae455..b1a4165 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ extra_reqs = { setup( name='spotipy', - version='2.17.0', + version='2.17.1', description='A light weight Python library for the Spotify Web API', long_description=long_description, long_description_content_type="text/markdown", @@ -28,6 +28,7 @@ setup( install_requires=[ 'requests>=2.25.0', 'six>=1.15.0', + 'urllib3>=1.26.0' ], tests_require=test_reqs, extras_require=extra_reqs,