From f6635e3804edb878797b708f148b2bc4f2287682 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Tue, 1 Dec 2020 11:28:03 -0500 Subject: [PATCH] [stable-2.9] - ansible-test - add cryptography constraint for cffi (#72761) The recently released version of cffi fails to install on systems with an older version of gcc. In our case, this in the CentOS 6 test image. There is a fix but it has not yet been released. https://foss.heptapod.net/pypy/cffi/-/issues/480 --- changelogs/fragments/cffi-constraint.yml | 4 ++++ test/lib/ansible_test/_data/requirements/constraints.txt | 1 + 2 files changed, 5 insertions(+) create mode 100644 changelogs/fragments/cffi-constraint.yml diff --git a/changelogs/fragments/cffi-constraint.yml b/changelogs/fragments/cffi-constraint.yml new file mode 100644 index 00000000000..105d29fcbc7 --- /dev/null +++ b/changelogs/fragments/cffi-constraint.yml @@ -0,0 +1,4 @@ +bugfixes: + - > + ansible-test - add constraint for ``cffi`` to prevent failure on systems with + older versions of ``gcc`` (https://foss.heptapod.net/pypy/cffi/-/issues/480) diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt index 94d888a81f7..da96db3481a 100644 --- a/test/lib/ansible_test/_data/requirements/constraints.txt +++ b/test/lib/ansible_test/_data/requirements/constraints.txt @@ -39,6 +39,7 @@ pyvmomi < 6.0.0 ; python_version < '2.7' # pyvmomi 6.0.0 and later require pytho pyone == 1.1.9 # newer versions do not pass current integration tests botocore >= 1.10.0 # adds support for the following AWS services: secretsmanager, fms, and acm-pca setuptools < 45 ; python_version <= '2.7' # setuptools 45 and later require python 3.5 or later +cffi != 1.14.4 # Fails on systems with older gcc. Should be fixed in the next release. https://foss.heptapod.net/pypy/cffi/-/issues/480 # freeze pylint and its requirements for consistent test results astroid == 2.2.5