mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Use the pip resolver to avoid broken deps
This commit is contained in:
parent
97e18889c6
commit
1645b8826d
|
@ -5,6 +5,10 @@
|
|||
|
||||
set -o errexit
|
||||
|
||||
# Install modern pip to use new resolver:
|
||||
# https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html
|
||||
pip install 'pip>=20.2'
|
||||
|
||||
# install test requirements
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
@ -20,7 +24,7 @@ cd my_awesome_project
|
|||
sudo utility/install_os_dependencies.sh install
|
||||
|
||||
# Install Python deps
|
||||
pip install -r requirements/local.txt
|
||||
pip install --use-feature=2020-resolver -r requirements/local.txt
|
||||
|
||||
# run the project's tests
|
||||
pytest
|
||||
|
|
Loading…
Reference in New Issue
Block a user