diff --git a/test/integration/targets/uri/files/constraints.txt b/test/integration/targets/uri/files/constraints.txt deleted file mode 100644 index 88234c427f..0000000000 --- a/test/integration/targets/uri/files/constraints.txt +++ /dev/null @@ -1,2 +0,0 @@ -cryptography < 2.2 ; python_version < "2.7" # cryptography 2.2+ requires python 2.7+ -pyopenssl < 18.0 ; python_version < "2.7" # pyopenssl 18.0+ requires python 2.7+ diff --git a/test/integration/targets/uri/tasks/main.yml b/test/integration/targets/uri/tasks/main.yml index abb249dca8..8d5d355014 100644 --- a/test/integration/targets/uri/tasks/main.yml +++ b/test/integration/targets/uri/tasks/main.yml @@ -285,7 +285,7 @@ pip: name: "{{ item }}" state: latest - extra_args: "-c {{ role_path }}/files/constraints.txt" + extra_args: "-c {{ role_path }}/../../../runner/requirements/constraints.txt" with_items: - urllib3 - PyOpenSSL diff --git a/test/runner/requirements/constraints.txt b/test/runner/requirements/constraints.txt index b37f5b3dad..e7479c8090 100644 --- a/test/runner/requirements/constraints.txt +++ b/test/runner/requirements/constraints.txt @@ -1,5 +1,6 @@ coverage >= 4.2, != 4.3.2 # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6 cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6 +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 sphinx < 1.6 ; python_version < '2.7' # sphinx 1.6 and later require python 2.7 or later sphinx < 1.8 ; python_version >= '2.7' # sphinx 1.8 and later are currently incompatible with rstcheck 3.3