Closed greyhare closed 4 years ago
Ups, happens after upgrading to 1.1.1.
Why is it (and many others) specified in Pipfile
when it'll be pulled in by dependencies?
Why is it (and many others) specified in Pipfile when it'll be pulled in by dependencies?
I don't understand your question.
The whole point of pipenv
is to let you cut requirements down to what you actually need, so you don't have to list every dependency of a dependency in a requirements.txt
file like with plain old pip
. So it seems like requirements like djangorestframework = "*"
are redundant here.
In other words, it seems like django-shop
would be a better authority on what djangorestframework
is required than cookiecutter-django-shop
.
You're right. I'll change that in the next version.
What happened?
pipenv install --sequential
failed with the following message:What should've happened instead?
Steps to reproduce
MacOS, MacPorts, up-to-date,
cookiecutter
,autopep8
, andpipenv
installed withpip install --user
.cookiecutter https://github.com/awesto/cookiecutter-django-shop
cd my-shop
pipenv install --sequential
Recommended fix
Remove line 32 in
cookiecutter-django-shop/{{cookiecutter.project_slug}}/Pipfile
:This line is unneeded since
djangorestframework
is a declared dependency ofdjango-shop==1.1.1
as shown bypipenv graph
. This fixed the problem on my system.