Fix readthedocs

This commit is contained in:
Stephane Bruckert 2022-06-19 09:03:13 +01:00
parent eab3c37b89
commit 7337bf9352
2 changed files with 7 additions and 5 deletions

View File

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

View File

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