Merge pull request #2693 from enchance/wrong-version

This commit is contained in:
Bruno Alla 2020-08-11 16:37:15 +01:00 committed by GitHub
commit a5af9baedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -13,7 +13,7 @@ watchgod==0.6 # https://github.com/samuelcolvin/watchgod
# Testing
# ------------------------------------------------------------------------------
mypy==0.782 # https://github.com/python/mypy
mypy==0.770 # https://github.com/python/mypy
django-stubs==1.5.0 # https://github.com/typeddjango/django-stubs
pytest==6.0.1 # https://github.com/pytest-dev/pytest
pytest-sugar==0.9.4 # https://github.com/Frozenball/pytest-sugar