-
Notifications
You must be signed in to change notification settings - Fork 976
Open
Labels
Description
Let's start thinking of the next major version for spotipy, while we keep maintaining the version 2.
spotipy's philosophy for v3 remains the same:
A light weight Python library for the Spotify Web API
Light weight means we keep it simple and let developers parse the JSON results themselves, as we trust that the Spotify API is backward-compatible.
v3 PRs and issues can use the label:
To do in version 3:
- remove python2 support
- support for type hints Support for type hints #439
- clean up deprecated methods
- get rid of
oauth2.pywhich confusingly includes non-oauth2 flows -> we could have an "auth" folder and a file for each authentication flow - things tagged with spotipy3
- use
ValueErrorexceptions here b1db0b6#diff-952bb1443c4db0c5905601651c4ed9de43df4d4c5ad17939cffaf8211a49914eR1971
Feel free to suggest anything that you believe could improve spotipy in the long term. Independent issues / PRs can still be created and referenced in this discussion.
Development process
Here is a first suggestion, and can be improved:
- a new
v3branch exists, so v3 PRs are welcome now! - all backward-incompatible PRs can be merged into
v3 - backward-compatible PRs can be merged into
masteras usual - PRs welcome to regularly rebase
masterontov3while making sure it doesn't include any of the things we don't want in v3 - we will be able to create pre-releases along the way https://www.python.org/dev/peps/pep-0440/#id27
There is no rush, this will take the time it needs. Any suggestion is welcome! Thank you
stefanondisponibile, 0xbrayo, RememberTheAir and redthing1