Skip to content

Commit

Permalink
coverage: lock down to coverage 4
Browse files Browse the repository at this point in the history
pytest-cov has issues when run in parallel when using coverage 5,
as noted by the pytest-cov authors.

Use coverage 4 until pytest-cov is ready for coverage 5, or a
better solution is documented.

pytest-dev/pytest-cov@d3daf76

pytest-dev/pytest-cov#386
  • Loading branch information
davvid committed Apr 13, 2020
1 parent 305f756 commit 1419f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -23,6 +23,7 @@ setup_requires = setuptools_scm[toml] >= 3.4.1
[options.extras_require]
testing =
# upstream
coverage < 5
pytest >= 3.5, !=3.7.3
pytest-checkdocs >= 1.2.3
pytest-flake8
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -20,7 +20,7 @@ usedevelop = True
extras = testing

[testenv:clean]
deps = coverage
deps = coverage<5
depends =
skip_install = true
commands = coverage erase
Expand Down

0 comments on commit 1419f51

Please sign in to comment.