Skip to content

Commit

Permalink
Pin to older coverage version until the bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jan 2, 2020
1 parent 5f7858c commit d3613ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,7 @@ python:
- pypy
- pypy3
install:
- pip install coverage coveralls coverage-python-version
- pip install coverage coveralls coverage-python-version -cconstraints.txt
- pip install freezegun mock flake8
- pip install --no-deps -e .
script:
Expand Down
2 changes: 2 additions & 0 deletions constraints.txt
@@ -0,0 +1,2 @@
# workaround for https://github.com/nedbat/coveragepy/issues/909
coverage < 5.0
2 changes: 2 additions & 0 deletions tox.ini
Expand Up @@ -20,6 +20,7 @@ deps =
mock
coverage
coverage-python-version
-cconstraints.txt
skip_install = true
commands =
pip install --no-deps -e .
Expand All @@ -31,6 +32,7 @@ deps =
freezegun
coverage
coverage-python-version
-cconstraints.txt
skip_install = true
commands =
{[testenv:coverage]commands}
Expand Down

0 comments on commit d3613ed

Please sign in to comment.