agraph-python icon indicating copy to clipboard operation
agraph-python copied to clipboard

urllib3 Retry API change

Open mgberg opened this issue 2 years ago • 0 comments

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: https://github.com/franzinc/agraph-python/blob/25b8963144defd56fea754536d6d14b51795470b/src/franz/miniclient/backends/requests.py#L36-L39

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.

mgberg avatar May 17 '23 16:05 mgberg