Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MemcacheCacheHandler #1042

Merged
merged 5 commits into from
May 30, 2024

Conversation

andrewcara
Copy link
Contributor

Added a CacheHandler for Memcached using pymemcache.

@dieser-niko
Copy link
Member

I need your thoughts on this because I've never heard of memcache. Is it popular? And does it make sense to use with spotipy?
This needs to be considered because it would mean that we would have to add another requirement to our list.

Copy link
Member

@stephanebruckert stephanebruckert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Memcache is widely used and just like the other cache handlers would allow to store the token somewhere else.

The new requirement is a problem, so perhaps we should move it to extras_require and update the installation instructions to look like https://stackoverflow.com/a/65936306/1515819

However we haven't done that for Redis. We could leave Redis where it is for now and move it to extras in v3 to maintain backward compatibility.

@stephanebruckert stephanebruckert merged commit 62a27a2 into spotipy-dev:master May 30, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants