summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-12-20 09:15:43 -0800
committerMatt Clay <matt@mystile.com>2020-01-10 15:25:51 -0800
commitdfb425bed5de2a0ca213ad17902f2e13f3a087c3 (patch)
tree7acc099776176b0a6ec53e931f0e3e6131450595
parent88416b627caac5f0f4bff335d5387e0bcca938ca (diff)
downloadansible-dfb425bed5de2a0ca213ad17902f2e13f3a087c3.tar.gz
[stable-2.7] Add ansible-test constraint to avoid coverage 5.0+.
(cherry picked from commit 9ea5b539b60cb7035f08ac17688976a8e6dfb126) Co-authored-by: Matt Clay <matt@mystile.com>
-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