mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 04:54:02 +03:00
Fixes for pip 20.3
This commit is contained in:
parent
bb0c68317c
commit
5ad419e322
|
@ -12,7 +12,7 @@ flake8-isort==4.0.0
|
|||
# Testing
|
||||
# ------------------------------------------------------------------------------
|
||||
tox==3.20.1
|
||||
pytest==6.1.2
|
||||
pytest==5.4.3
|
||||
pytest-cookies==0.5.1
|
||||
pytest-instafail==0.4.2
|
||||
pyyaml==5.3.1
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
set -o errexit
|
||||
set -x
|
||||
|
||||
# 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 modern pip with new resolver:
|
||||
# https://blog.python.org/2020/11/pip-20-3-release-new-resolver.html
|
||||
pip install 'pip>=20.3'
|
||||
|
||||
# install test requirements
|
||||
pip install -r requirements.txt
|
||||
|
@ -25,7 +25,7 @@ cd my_awesome_project
|
|||
sudo utility/install_os_dependencies.sh install
|
||||
|
||||
# Install Python deps
|
||||
pip install --use-feature=2020-resolver -r requirements/local.txt
|
||||
pip install -r requirements/local.txt
|
||||
|
||||
# run the project's tests
|
||||
pytest
|
||||
|
|
Loading…
Reference in New Issue
Block a user