diff options
author | Rick Elrod <rick@elrod.me> | 2020-10-26 13:44:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 13:44:16 -0500 |
commit | 4159c73db22130c89bbe09e1dff3d9fac581318d (patch) | |
tree | 0af50d6d9f60708c6c338633d76faa1928d9b262 | |
parent | 69744aa0a7fdafb6a0b988f66ec835dad39fefbc (diff) | |
download | ansible-4159c73db22130c89bbe09e1dff3d9fac581318d.tar.gz |
[ansible-test] Limit cryptography to <3.2 (#72342) (#72345)
Change:
- Cryptography 3.2 drops support for OpenSSL 1.0.2. Some of our CI
infrastructure still uses this version (FreeBSD, namely). For now,
just add a constraint to use old cryptography.
Test Plan:
- CI
Signed-off-by: Rick Elrod <rick@elrod.me>
-rw-r--r-- | changelogs/fragments/ansible-test-constraints-cryptography-old-openssl.yml | 2 | ||||
-rw-r--r-- | test/lib/ansible_test/_data/requirements/constraints.txt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-constraints-cryptography-old-openssl.yml b/changelogs/fragments/ansible-test-constraints-cryptography-old-openssl.yml new file mode 100644 index 0000000000..2349f35444 --- /dev/null +++ b/changelogs/fragments/ansible-test-constraints-cryptography-old-openssl.yml @@ -0,0 +1,2 @@ +minor_changes: + - ansible-test - python-cryptography is now bounded at <3.2, as 3.2 drops support for OpenSSL 1.0.2 upon which some of our CI infrastructure still depends. diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt index 33daaadead..48d5636e8d 100644 --- a/test/lib/ansible_test/_data/requirements/constraints.txt +++ b/test/lib/ansible_test/_data/requirements/constraints.txt @@ -2,6 +2,7 @@ coverage >= 4.5.1, < 5.0.0 ; python_version < '3.7' # coverage 4.4 required for 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 cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6 +cryptography < 3.2 ; python_version >= '2.7' # cryptography 3.2 drops support for OpenSSL 1.0.2 which some of our CI hosts (FreeBSD) still use deepdiff < 4.0.0 ; python_version < '3' # deepdiff 4.0.0 and later require python 3 jinja2 < 2.11 ; python_version < '2.7' # jinja2 2.11 and later require python 2.7 or later urllib3 < 1.24 ; python_version < '2.7' # urllib3 1.24 and later require python 2.7 or later |