Closed
Description
Describe your environment
- Operating System version:
Linux 78a95de467b6 4.15.0-123-generic #126-Ubuntu SMP Wed Oct 21 09:40:11 UTC 2020 x86_64 GNU/Linux
- Firebase SDK version: admin-python 4.3.0
- Library version: 4.3.0
- Firebase Product: auth
Describe the problem
Steps to reproduce:
urrlib3 version 1.26 introduced a new argument allowed_methods
to urllib3.Retry
and deprecated the method_whitelist
argument, which is still used in firebase_admin._http_client
.
Installing urllib3>=1.26 results in the DeprecationWarning
when using any part of the library that imports firebase_admin._http_client
.
Possible solutions:
- Use one spelling or the other depending on detection of urllib3 version
- Pin required version of urllib3<1.26
- Change the argument used here and pin required version of urllib3>=1.26