Drop support for EOL Python 3.7 (#1065)

* Add python_requires to help pip

* Update supported versions in tox.ini

* Upgrade Python syntax with pyupgrade --py37-plus

* Bump GitHub Actions

* Add Python 3.11 and 3.12 to CI

* Remove six dependency

* Remove redundant dependencies

* Remove redudant Python 3.5 code

* Drop support for EOL Python 3.7

* Upgrade Python syntax with pyupgrade --py38-plus

* Update CHANGELOG

* More f-strings

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Hugo van KemenadeandHugo van Kemenade authored and GitHub committed 2024-05-21 18:32:01 +02:00
1 parent 958ff6ad2b
commit 85c9d74dc1
29 files changed
+85 -125

No files matched your search

+2 -3
View File
@@ -1,6 +1,6 @@
from setuptools import setup
with open("README.md", "r") as f:
with open("README.md") as f:
long_description = f.read()
test_reqs = [
@@ -28,11 +28,10 @@ setup(
project_urls={
'Source': 'https://github.com/plamere/spotipy',
},
python_requires='>3.8',
install_requires=[
"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,