summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2021-04-01 13:29:54 -0700
committerMatt Clay <matt@mystile.com>2021-04-01 14:02:46 -0700
commit4e2da0f89454ec46dc5aaf513a49b92e4a9a6052 (patch)
treecea730be542078305b9f6418587f332457ae25e6
parentc0a8ed1e35aa6c55b58ee70026c56c7ee85cf511 (diff)
downloadansible-4e2da0f89454ec46dc5aaf513a49b92e4a9a6052.tar.gz
Add ansible-test six constraint for Python 2.6.
-rw-r--r--changelogs/fragments/ansible-test-six.yml2
-rw-r--r--test/lib/ansible_test/_data/requirements/constraints.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-six.yml b/changelogs/fragments/ansible-test-six.yml
new file mode 100644
index 0000000000..49c767f145
--- /dev/null
+++ b/changelogs/fragments/ansible-test-six.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-test - Add a ``six < 1.14.0`` constraint for Python 2.6.
diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt
index c14f4af55e..135080bfb5 100644
--- a/test/lib/ansible_test/_data/requirements/constraints.txt
+++ b/test/lib/ansible_test/_data/requirements/constraints.txt
@@ -2,6 +2,7 @@ resolvelib >= 0.5.3, < 0.6.0 # keep in sync with `requirements.txt`
coverage >= 4.5.1, < 5.0.0 ; python_version < '3.7' # coverage 4.4 required for "disable_warnings" support but 4.5.1 needed for bug fixes, coverage 5.0+ incompatible
coverage >= 4.5.2, < 5.0.0 ; python_version == '3.7' # coverage 4.5.2 fixes bugs in support for python 3.7, coverage 5.0+ incompatible
coverage >= 4.5.4, < 5.0.0 ; python_version > '3.7' # coverage had a bug in < 4.5.4 that would cause unit tests to hang in Python 3.8, coverage 5.0+ incompatible
+six < 1.14.0 ; python_version < '2.7' # six 1.14.0 drops support for python 2.6
cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6
# do not add a cryptography constraint here unless it is for python version incompatibility, see the get_cryptography_requirement function in executor.py for details
deepdiff < 4.0.0 ; python_version < '3' # deepdiff 4.0.0 and later require python 3