Skip to content

Commit

Permalink
Pin urllib3 to older release to avoid issues related to Python being
Browse files Browse the repository at this point in the history
compiled against old openssl version.
  • Loading branch information
Kami committed Aug 6, 2023
1 parent 6c7d8ec commit 6b3704a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 =
Expand All @@ -255,15 +261,21 @@ 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
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 =
Expand Down

0 comments on commit 6b3704a

Please sign in to comment.