-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
As of urllib 2.0.0 (released 2023-04-26), the method_whitelist argument for Retry (which has been deprecated for a while) was removed in favor of allowed_methods.
However, the removed argument is still referenced here:
agraph-python/src/franz/miniclient/backends/requests.py
Lines 36 to 39 in 25b8963
| retries = Retry(backoff_factor=0.1, | |
| connect=10, # 10 retries for connection-level errors | |
| status_forcelist=(), # Retry only on connection errors | |
| method_whitelist=False) # Retry on all methods, even POST and PUT |
Therefore, pinning the version of urllib3 is required. It would be great if this long-deprecated, now removed argument was replaced with the proper one.
CasperWA
Metadata
Metadata
Assignees
Labels
No labels