summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/fragments/ansible-test-coverage-constraint.yml2
-rw-r--r--test/runner/requirements/constraints.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/changelogs/fragments/ansible-test-coverage-constraint.yml b/changelogs/fragments/ansible-test-coverage-constraint.yml
new file mode 100644
index 0000000000..b5a03e5678
--- /dev/null
+++ b/changelogs/fragments/ansible-test-coverage-constraint.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-test no longer tries to install ``coverage`` 5.0+ since those versions are unsupported
diff --git a/test/runner/requirements/constraints.txt b/test/runner/requirements/constraints.txt
index d4149336dc..eff50cfb32 100644
--- a/test/runner/requirements/constraints.txt
+++ b/test/runner/requirements/constraints.txt
@@ -1,4 +1,4 @@
-coverage >= 4.2, != 4.3.2 # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6
+coverage >= 4.2, < 5.0.0, != 4.3.2 # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6, coverage 5.0+ incompatible
cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6
deepdiff < 4.0.0 ; python_version < '3' # deepdiff 4.0.0 and later require python 3
urllib3 < 1.24 ; python_version < '2.7' # urllib3 1.24 and later require python 2.7 or later