Skip to content

Commit 66934cd

Browse files
committed
[FIX] core: avoir firebase_admin DeprecationWarning
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 odoo#101444 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
1 parent dfa8673 commit 66934cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

odoo/netsvc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def record_factory(*args, **kwargs):
139139
'ofxparse',# ofxparse importing ABC from collections
140140
'astroid', # deprecated imp module (fixed in 2.5.1)
141141
'requests_toolbelt', # importing ABC from collections (fixed in 0.9)
142+
'firebase_admin', # deprecated method_whitelist
142143
]:
143144
warnings.filterwarnings('ignore', category=DeprecationWarning, module=module)
144145

0 commit comments

Comments
 (0)