mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +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
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
tox==3.20.1
|
tox==3.20.1
|
||||||
pytest==6.1.2
|
pytest==5.4.3
|
||||||
pytest-cookies==0.5.1
|
pytest-cookies==0.5.1
|
||||||
pytest-instafail==0.4.2
|
pytest-instafail==0.4.2
|
||||||
pyyaml==5.3.1
|
pyyaml==5.3.1
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# Install modern pip to use new resolver:
|
# Install modern pip with new resolver:
|
||||||
# https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html
|
# https://blog.python.org/2020/11/pip-20-3-release-new-resolver.html
|
||||||
pip install 'pip>=20.2'
|
pip install 'pip>=20.3'
|
||||||
|
|
||||||
# install test requirements
|
# install test requirements
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
@ -25,7 +25,7 @@ cd my_awesome_project
|
||||||
sudo utility/install_os_dependencies.sh install
|
sudo utility/install_os_dependencies.sh install
|
||||||
|
|
||||||
# Install Python deps
|
# Install Python deps
|
||||||
pip install --use-feature=2020-resolver -r requirements/local.txt
|
pip install -r requirements/local.txt
|
||||||
|
|
||||||
# run the project's tests
|
# run the project's tests
|
||||||
pytest
|
pytest
|
||||||
|
|
Loading…
Reference in New Issue
Block a user