mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
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:
parent
8a40e038b9
commit
eee7ae7d0d
@ -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
|
||||||
|
|
||||||
|
|||||||
6
setup.py
6
setup.py
@ -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'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user