-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Description
Running pip install djangorestframework-jsonapi
fails as documented on Read the Docs. I believe the reason is that pip fails to recognize all the available version numbers appropriately.
According to the setuptools docs, the -
in the version number makes the posted version a "post-release" number. https://pythonhosted.org/setuptools/setuptools.html#specifying-your-project-s-version
Here is the output I saw when I tried to run the command:
$ pip install djangorestframework-jsonapi
Downloading/unpacking djangorestframework-jsonapi
Could not find a version that satisfies the requirement djangorestframework-jsonapi \
(from versions: 2.0.0-alpha.1, 2.0.0-alpha.2, 2.0.0-alpha.3, 2.0.0-alpha, 2.0.0-beta.1)
Cleaning up...
No distributions matching the version for djangorestframework-jsonapi
Storing debug log for failure in /home/matt/.pip/pip.log
I don't know for sure, but my guess is that in the absence of an actual version (i.e., 2.0.0
), pip gives up when it only finds post release versions.
Metadata
Metadata
Assignees
Labels
No labels