From 7337bf935273ac438f3e6ba346ce19c4e74ba159 Mon Sep 17 00:00:00 2001 From: Stephane Bruckert Date: Sun, 19 Jun 2022 09:03:13 +0100 Subject: [PATCH] Fix readthedocs --- CHANGELOG.md | 3 ++- setup.py | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93a6cfb..f328ff2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,11 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Added `market` parameter to `album` and `albums` to address ([#753](https://github.com/plamere/spotipy/issues/753) * Added 'show_featured_artists.py' to 'examples'. +* Expanded contribution and license sections of the documentation. ### Fixed * Updated the documentation to specify ISO-639-1 language codes. * Fix `AttributeError` for `text` attribute of the `Response` object +* Require redis v3 if python2.7 (fixes readthedocs) ## [2.20.0] - 2022-06-18 @@ -24,7 +26,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * 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` -* Expanded contribution and license sections of the documentation. ### Changed * Removed Python 3.5 and added Python 3.9 in Github Action diff --git a/setup.py b/setup.py index fed67e6..9905f13 100644 --- a/setup.py +++ b/setup.py @@ -29,10 +29,11 @@ setup( 'Source': 'https://github.com/plamere/spotipy', }, install_requires=[ - 'redis>=3.5.3', - 'requests>=2.25.0', - 'six>=1.15.0', - 'urllib3>=1.26.0' + "redis>=3.5.3", + "redis<4.0.0;python_version<'3.4'", + "requests>=2.25.0", + "six>=1.15.0", + "urllib3>=1.26.0" ], tests_require=test_reqs, extras_require=extra_reqs,