Remove use of method_whitelist when possible by xmo-odoo · Pull Request #532 · firebase/firebase-admin-python

@xmo-odoo mentioned this pull request

Feb 8, 2021

hiranya911

@xmo-odoo

Deprecated in favor of allowed_methods. Fall back to the old argument
for older versions of urllib3 which do not support the new one.

Uses conditional attribute check as recommended in
urllib3/urllib3#2057

hiranya911

@xmo-odoo xmo-odoo deleted the urllib3-whitelist-deprecation branch

February 11, 2021 07:48

sts-odoo added a commit to odoo-dev/odoo that referenced this pull request

Sep 28, 2022
With version of urllib3 in ubuntu 22.04 (1.26.5) and with version of firebase_admin between 2.17.0 and 4.5.2 a gives the following
warning:
In firebase_admin/_http_client.py:30: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead

It has been fixed in later version
firebase/firebase-admin-python#532 since v4.5.2

robodoo pushed a commit to odoo/odoo that referenced this pull request

Sep 30, 2022
With version of urllib3 in ubuntu 22.04 (1.26.5) and with version of firebase_admin between 2.17.0 and 4.5.2 a gives the following
warning:
In firebase_admin/_http_client.py:30: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead

It has been fixed in later version
firebase/firebase-admin-python#532 since v4.5.2

closes #101444

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>

robodoo pushed a commit to odoo/odoo that referenced this pull request

Sep 30, 2022
With version of urllib3 in ubuntu 22.04 (1.26.5) and with version of firebase_admin between 2.17.0 and 4.5.2 a gives the following
warning:
In firebase_admin/_http_client.py:30: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead

It has been fixed in later version
firebase/firebase-admin-python#532 since v4.5.2

closes #101444

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>

fw-bot pushed a commit to odoo-dev/odoo that referenced this pull request

Sep 30, 2022
With version of urllib3 in ubuntu 22.04 (1.26.5) and with version of firebase_admin between 2.17.0 and 4.5.2 a gives the following
warning:
In firebase_admin/_http_client.py:30: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead

It has been fixed in later version
firebase/firebase-admin-python#532 since v4.5.2

X-original-commit: 66934cd

robodoo pushed a commit to odoo/odoo that referenced this pull request

Oct 6, 2022
With version of urllib3 in ubuntu 22.04 (1.26.5) and with version of firebase_admin between 2.17.0 and 4.5.2 a gives the following
warning:
In firebase_admin/_http_client.py:30: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead

It has been fixed in later version
firebase/firebase-admin-python#532 since v4.5.2

closes #101731

X-original-commit: 66934cd
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>