From 137a9149f9e29f9e10476aceb5e3be0c73ef34a1 Mon Sep 17 00:00:00 2001 From: ewezy Date: Thu, 12 Oct 2023 12:54:15 +0800 Subject: [PATCH] Bump up urllib3 dependencies --- python/sdk/setup.py | 2 +- python/sdk/test/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sdk/setup.py b/python/sdk/setup.py index 4bc97c136..0ebb50f88 100644 --- a/python/sdk/setup.py +++ b/python/sdk/setup.py @@ -36,7 +36,7 @@ "python_dateutil>=2.5.3", "PyYAML>=5.4", "six>=1.10", - "urllib3>=1.23", + "urllib3>=1.26", "numpy<=1.23.5", # Temporary pin numpy due to https://numpy.org/doc/stable/release/1.20.0-notes.html#numpy-1-20-0-release-notes "caraml-auth-google==0.0.0.post7", ] diff --git a/python/sdk/test/conftest.py b/python/sdk/test/conftest.py index 657c3a678..e00d86146 100644 --- a/python/sdk/test/conftest.py +++ b/python/sdk/test/conftest.py @@ -136,7 +136,7 @@ def requests(): retry_strategy = Retry( total=5, status_forcelist=[429, 500, 502, 503, 504, 404], - method_whitelist=["POST"], + allowed_methods=["POST"], backoff_factor=0.5, ) adapter = HTTPAdapter(max_retries=retry_strategy)