From 25593331c9d7df93aefe83e75fabd216cffbd89d Mon Sep 17 00:00:00 2001 From: Siyuan Zhang Date: Thu, 27 Apr 2023 15:23:42 +0800 Subject: [PATCH] temporarily fix the urllib3 2.0.0 incompatible with openssl (#2662) The error is ``` ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2k-fips 26 Jan 2017. See: https://github.com/urllib3/urllib3/issues/2168 ``` urllib3 release 2.0.0 today and dropped support for openssl < 1.1.1, whereas out centos7 bundled openssl library is 1.0.2k. This restraints could be dropped when our image base has been switch to ubuntu #2607 --- coordinator/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/coordinator/requirements.txt b/coordinator/requirements.txt index f7de73d69841..cc911b03434a 100644 --- a/coordinator/requirements.txt +++ b/coordinator/requirements.txt @@ -16,3 +16,4 @@ prometheus-client>=0.14.1 setuptools==65.7.0 packaging tqdm +urllib3>=1.24.2,<2.0.0