Remove obsolete mock dependency (#1127)

The package uses `unittest.mock` only, and that one is part
of the Python standard library.
This commit is contained in:
Michał Górny 2024-05-31 09:08:24 +02:00 committed by GitHub
parent 8a40e038b9
commit eee7ae7d0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 7 deletions

View File

@ -15,7 +15,7 @@ Add your changes below.
- -
### Removed ### Removed
- - `mock` no longer listed as a test dependency. Only built-in `unittest.mock` is actually used.
## [2.24.0] - 2024-05-30 ## [2.24.0] - 2024-05-30

View File

@ -3,16 +3,11 @@ from setuptools import setup
with open("README.md") as f: with open("README.md") as f:
long_description = f.read() long_description = f.read()
test_reqs = [
'mock==2.0.0'
]
memcache_cache_reqs = [ memcache_cache_reqs = [
'pymemcache>=3.5.2' 'pymemcache>=3.5.2'
] ]
extra_reqs = { extra_reqs = {
'test': test_reqs,
'memcache': memcache_cache_reqs 'memcache': memcache_cache_reqs
} }
@ -34,7 +29,6 @@ setup(
"requests>=2.25.0", "requests>=2.25.0",
"urllib3>=1.26.0" "urllib3>=1.26.0"
], ],
tests_require=test_reqs,
extras_require=extra_reqs, extras_require=extra_reqs,
license='MIT', license='MIT',
packages=['spotipy']) packages=['spotipy'])