You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2023/08/06 15:36:39 UTC
[libcloud] 02/04: Pin urllib3 to older release to avoid issues related to Python being compiled against old openssl version.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 6b3704a0fe5dd96a6cf6da7f38aed4f529a14b9d
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Aug 6 17:27:18 2023 +0200
Pin urllib3 to older release to avoid issues related to Python being
compiled against old openssl version.
---
tox.ini | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/tox.ini b/tox.ini
index 93b0b8ebf..ed8d582b6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -204,7 +204,10 @@ commands = python ./contrib/generate_provider_feature_matrix_table.py
[testenv:scrape-and-publish-provider-prices]
basepython: python3.8
-deps = requests
+# Needed to avoid urllib3 errors related to old openssl version
+# https://github.com/urllib3/urllib3/issues/2168
+deps = urllib3==1.26.6
+ requests
jsonnet
ijson
tqdm
@@ -235,7 +238,10 @@ commands =
[testenv:scrape-provider-prices]
basepython: python3.8
-deps = requests
+# Needed to avoid urllib3 errors related to old openssl version
+# https://github.com/urllib3/urllib3/issues/2168
+deps = urllib3==1.26.6
+ requests
jsonnet
ijson
passenv =
@@ -255,7 +261,10 @@ commands =
[testenv:scrape-ec2-prices]
basepython: python3.7
-deps = requests
+# Needed to avoid urllib3 errors related to old openssl version
+# https://github.com/urllib3/urllib3/issues/2168
+deps = urllib3==1.26.6
+ requests
jsonnet
ijson
tqdm
@@ -263,7 +272,10 @@ commands = python contrib/scrape-ec2-prices.py
[testenv:scrape-ec2-sizes]
basepython: python3.7
-deps = requests
+# Needed to avoid urllib3 errors related to old openssl version
+# https://github.com/urllib3/urllib3/issues/2168
+deps = urllib3==1.26.6
+ requests
ijson
tqdm
commands =