Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Pin `coverage` version in CI. (#1505)

Coverage 5.0.0 just appeared which appears to not work with pytest
properly. This patch pins coverage to 4.5.4 which is a version
which has worked successfully previously.

Coverage 5.0.0 + pytest fails with:

INTERNALERROR> coverage.misc.CoverageException: Couldn't use data file '/home/travis/build/Parsl/parsl/.coverage': UNIQUE constraint failed: meta.key

when run when no .coverage file exists. Subsequent runs do not raise
this error.
  • Loading branch information
benclifford committed Dec 16, 2019
1 parent 4a726d1 commit 4cc9b9430e59e99bb616dde02cd2365c0e741e71
Showing with 1 addition and 1 deletion.
  1. +1 −1 test-requirements.txt
@@ -4,7 +4,7 @@ pytest>=4.6,<5
pytest-cov
pytest-xdist==1.26.1
pytest-random-order
coverage
coverage==4.5.4
mock>=1.0.0
nbsphinx
sphinx_rtd_theme

0 comments on commit 4cc9b94

Please sign in to comment.
You can’t perform that action at this time.