Fixes for pip 20.3

This commit is contained in:
Bruno Alla 2020-12-02 13:58:05 +00:00
parent bb0c68317c
commit 5ad419e322
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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