From 674a4a09d1efd99d24e2bbdcc44c5b88563225e3 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 30 Jan 2022 15:15:02 +0100 Subject: [PATCH] PyOpenSSL 22.0.0 no longer supports Python 2.7 (#4114) (#4115) * PyOpenSSL 22.0.0 no longer supports Python 2.7. * Try to make pip on CentOS 6 happy. (cherry picked from commit 84124224aecd10086ff5b6db84aa6c0913b6d823) Co-authored-by: Felix Fontein --- tests/utils/constraints.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils/constraints.txt b/tests/utils/constraints.txt index f64dcdba67..1a7902d9aa 100644 --- a/tests/utils/constraints.txt +++ b/tests/utils/constraints.txt @@ -29,6 +29,7 @@ openshift >= 0.6.2, < 0.9.0 # merge_type support virtualenv < 16.0.0 ; python_version < '2.7' # virtualenv 16.0.0 and later require python 2.7 or later pathspec < 0.6.0 ; python_version < '2.7' # pathspec 0.6.0 and later require python 2.7 or later pyopenssl < 18.0.0 ; python_version < '2.7' # pyOpenSSL 18.0.0 and later require python 2.7 or later +pyopenssl < 22.0.0 ; python_version >= '2.7' and python_version < '3.6' # pyOpenSSL 22.0.0 and later require python 3.6 or later pyfmg == 0.6.1 # newer versions do not pass current unit tests pyyaml < 5.1 ; python_version < '2.7' # pyyaml 5.1 and later require python 2.7 or later pycparser < 2.19 ; python_version < '2.7' # pycparser 2.19 and later require python 2.7 or later