Skip to content

Commit

Permalink
Merge pull request #2693 from enchance/wrong-version
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke authored Aug 11, 2020
2 parents e260fd3 + 1645b88 commit a5af9ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tests/test_bare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5af9ba

Please sign in to comment.