mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #337] Pip claims to download version 2.4.4 but the files are actually from version 2.0.1 #198
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SimonCadge on GitHub (Nov 3, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/337
When installing spotipy over pip I didn't get the latest version, so I checked what was wrong.

I uninstalled spotipy and reinstalled it again, specifying that I wanted version 2.4.4. The terminal says 'successfully installed spotipy-2.4.4' but still the init file states that it is in version 2.0.1 and the code is old such that it doesn't support descriptions.
I can't even use pip to update it to the latest version because as far as pip is concerned it has installed version 2.4.4.
Looking deeper it seems that the init file shows the incorrect version even when I download the correct files from GitHub, but it's still true that the actual code is up to date in the version downloaded from GitHub and is incorrect in the version from pip. For example, the user_playlist_create() function doesn't take a description parameter in the pip version, and the oauth is_token_expired() function has an underscore at the very beginning.
@shivasiddharth commented on GitHub (Nov 30, 2018):
do not install using the pre built package. Instead try this:
pip install git+https://github.com/plamere/spotipy.git --upgrade@txoof commented on GitHub (Dec 15, 2018):
It would be a good idea if the maintainers either updated or deprecated the pypi version. This cost me an hour to figure out why my code was failing after migrating it to a newly created virtual environment and it appeared that I had the latest and correct versions installed.
Fortunately I found @shivasiddharth and @SimonCadge's comments to put me on the right track
@txoof commented on GitHub (Dec 15, 2018):
The contact information for Paul at PyPi is also out of date. I'll post the message I attempted to send here in hopes that Paul (the currently listed package maintainer) sees it.
If the original package maintainer is no longer willing or able to maintain this package, what is the correct protocol for forking this and deprecating the version at PyPi?
@onhernandes commented on GitHub (Dec 26, 2018):
So, I've an application that uses spotipy, but since it's out of date at PyPi, how can I set as dependency on
setup.py?Sorry for the dumb question, but I'm kinda of newbie with Python and its env.
@etedor commented on GitHub (Jan 7, 2019):
@onhernandes, I was able to get
setup.pyworking with the following:And in Pipenv's
Pipfile:@txoof commented on GitHub (Jan 10, 2019):
@onhernandes
If you are using pipenv you can use the following:
$ pipenv install git+https://github.com/plamere/spotipy.git#egg=spotipy@onhernandes commented on GitHub (Jan 11, 2019):
@etedor this worked for me.
Thanks everyone =)
@gesanderson commented on GitHub (Jun 13, 2019):
I also hit this issue today and spent some time before realizing the code in the installed package wasn't the same than what was on github. I agree with @txoof that updating the package on PyPI would be appreciated.
Adding git tags would also be nice, like that we can install a specific version with
pip install git+https://github.com/plamere/spotipy.git@$VERSION.@stephanebruckert commented on GitHub (Jan 11, 2020):
Just released 2.5.0 which contains everything from 2.4.4 as well as everything that was merged to master but never released