From aa55c68efd6217baab74c5dd0c3d7550e69a8ecf Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Fri, 3 Jan 2020 11:17:20 +0100 Subject: [PATCH] Pin coverage to <5.0 for now Getting ``` Coverage.py warning: Module attr was previously imported, but not measured (module-not-measured) ``` and missing coverage for some reason. Google is not helpful. --- setup.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f6de1bb6..5e9a850c 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ INSTALL_REQUIRES = [] EXTRAS_REQUIRE = { "docs": ["sphinx", "zope.interface"], "tests": [ - "coverage", + "coverage<5.0", "hypothesis", "pympler", "pytest>=4.3.0", # 4.3.0 dropped last use of `convert` diff --git a/tox.ini b/tox.ini index 92ab01ef..ddb8f422 100644 --- a/tox.ini +++ b/tox.ini @@ -50,7 +50,7 @@ commands = coverage run --parallel -m pytest {posargs} [testenv:coverage-report] basepython = python3.7 skip_install = true -deps = coverage +deps = coverage<5.0 commands = coverage combine coverage report