Skip to content

Commit

Permalink
Under tox, install packages with --no-deps
Browse files Browse the repository at this point in the history
This should achieve two things:

* Make sure that we get the Django version we explicitly declare in
  tox.ini, rather than getting Django as an indirect dependency.

* Catch dependencies we forgot to declare or pin.
  • Loading branch information
rfleschenberg committed Nov 8, 2016
1 parent 5cccbe4 commit a0cf0e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist = coverage-clean, py{27,34,35}-django{19,110}, coverage-report
[testenv]
# usedevelop is needed to collect coverage data.
usedevelop = True
install_command = pip install --no-deps {opts} {packages}
commands = coverage run -a {envbindir}/py.test example
deps =
py27: -r{toxinidir}/requirements/test_py2.txt
Expand Down

0 comments on commit a0cf0e8

Please sign in to comment.