Add version constraints for coverage

This commit is contained in:
Hynek Schlawack 2020-01-09 12:34:38 +01:00
parent 7edae2e070
commit ac541fbe55
2 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,8 @@ INSTALL_REQUIRES = []
EXTRAS_REQUIRE = {
"docs": ["sphinx", "zope.interface"],
"tests": [
"coverage[toml]",
# 5.0 introduced toml; parallel was broken until 5.0.2
"coverage[toml]>=5.0.2",
"hypothesis",
"pympler",
"pytest>=4.3.0", # 4.3.0 dropped last use of `convert`

View File

@ -50,7 +50,7 @@ commands = coverage run -m pytest {posargs}
[testenv:coverage-report]
basepython = python3.7
skip_install = true
deps = coverage[toml]
deps = coverage[toml]>=5.0.2
commands =
coverage combine
coverage report