From c6ea597bd4ee8ce2943c6c844dbe31a6eb2378cd Mon Sep 17 00:00:00 2001 From: micbou Date: Sun, 4 Jun 2017 16:42:18 +0200 Subject: [PATCH] Require coverage.py older than 4.4 coverage.py 4.4 removed the path from the filename attribute in its reports. This leads to incorrect coverage from codecov as it relies on this attribute to find the source file. Require coverage.py older than version 4.4. --- python/test_requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/test_requirements.txt b/python/test_requirements.txt index 9e03e8d0..8961b2dc 100644 --- a/python/test_requirements.txt +++ b/python/test_requirements.txt @@ -7,4 +7,8 @@ PyHamcrest >= 1.8.0 # This needs to be kept in sync with submodule checkout in # third_party/ycmd/third_party future == 0.15.2 +# coverage.py 4.4 removed the path from the filename attribute in its reports. +# This leads to incorrect coverage from codecov as it relies on this attribute +# to find the source file. +coverage < 4.4 codecov >= 2.0.5