diff options
-rw-r--r-- | changelogs/fragments/79187--wheel-0.38.0.yml | 2 | ||||
-rw-r--r-- | test/integration/targets/pip/meta/main.yml | 1 | ||||
-rw-r--r-- | test/integration/targets/pip/tasks/main.yml | 1 | ||||
-rw-r--r-- | test/lib/ansible_test/_data/requirements/constraints.txt | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/fragments/79187--wheel-0.38.0.yml b/changelogs/fragments/79187--wheel-0.38.0.yml new file mode 100644 index 0000000000..62543e1868 --- /dev/null +++ b/changelogs/fragments/79187--wheel-0.38.0.yml @@ -0,0 +1,2 @@ +bugfixes: + - ansible-test - Add ``wheel < 0.38.0`` constraint for Python 3.6 and earlier. diff --git a/test/integration/targets/pip/meta/main.yml b/test/integration/targets/pip/meta/main.yml index 07faa21776..129fa698f1 100644 --- a/test/integration/targets/pip/meta/main.yml +++ b/test/integration/targets/pip/meta/main.yml @@ -1,2 +1,3 @@ dependencies: - prepare_tests + - setup_remote_constraints diff --git a/test/integration/targets/pip/tasks/main.yml b/test/integration/targets/pip/tasks/main.yml index e669d297cf..66992fd017 100644 --- a/test/integration/targets/pip/tasks/main.yml +++ b/test/integration/targets/pip/tasks/main.yml @@ -37,6 +37,7 @@ - name: ensure wheel is installed pip: name: wheel + extra_args: "-c {{ remote_constraints }}" - include_tasks: pip.yml always: diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt index 6b5b064aa8..6eda167d0e 100644 --- a/test/lib/ansible_test/_data/requirements/constraints.txt +++ b/test/lib/ansible_test/_data/requirements/constraints.txt @@ -6,6 +6,7 @@ jinja2 < 2.11 ; python_version < '2.7' # jinja2 2.11 and later require python 2. urllib3 < 1.24 ; python_version < '2.7' # urllib3 1.24 and later require python 2.7 or later pywinrm >= 0.3.0 # message encryption support wheel < 0.30.0 ; python_version < '2.7' # wheel 0.30.0 and later require python 2.7 or later +wheel < 0.38.0 ; python_version >= '2.7' and python_version < '3.7' # wheel 0.38.0 and later require python 3.7 or later idna < 2.6, >= 2.5 # linode requires idna < 2.9, >= 2.5, requests requires idna < 2.6, but cryptography will cause the latest version to be installed instead paramiko < 2.4.0 ; python_version < '2.7' # paramiko 2.4.0 drops support for python 2.6 pytest < 3.3.0, >= 3.1.0 ; python_version < '2.7' # pytest 3.3.0 drops support for python 2.6 |