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)