Skip to content

Commit

Permalink
Attempt to fix coverage dependency issue
Browse files Browse the repository at this point in the history
Currently, the most recent version of python-coveralls requires
`coverage==4.0.3`, while pytest-cov requires `Coverage>=4.4`.

The current fix seems to be to pin `pytest-cov` to a previous
version. This can be changed once:
z4r/python-coveralls#66

has been resolved.
  • Loading branch information
justinGilmer committed Oct 15, 2018
1 parent 6bc0dba commit 5cd5d83
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ nbformat
ipykernel
ipyext
python-coveralls
pytest-cov
# TODO: Remove the pinning of the pytest-cov version again once issue
# https://github.com/z4r/python-coveralls/issues/66
# is resolved.
# Background: pytest-cov 2.6.0 has increased the version
# requirement for the coverage package from >=3.7.1 to
# >=4.4, which is in conflict with the version requirement
# defined by the python-coveralls package for coverage==4.0.3.
# This fix from:
# https://github.com/pywbem/pywbem/commit/d85a3e73e08d2846073087733b790b5a8864d93f
pytest-cov>=2.4.0,<2.6
pytest-faulthandler
pytest-ignore-flaky

0 comments on commit 5cd5d83

Please sign in to comment.