From 4e2da0f89454ec46dc5aaf513a49b92e4a9a6052 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 1 Apr 2021 13:29:54 -0700 Subject: [PATCH] Add ansible-test six constraint for Python 2.6. --- changelogs/fragments/ansible-test-six.yml | 2 ++ test/lib/ansible_test/_data/requirements/constraints.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/ansible-test-six.yml diff --git a/changelogs/fragments/ansible-test-six.yml b/changelogs/fragments/ansible-test-six.yml new file mode 100644 index 00000000000..49c767f1452 --- /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 c14f4af55e1..135080bfb59 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