diff options
| author | Christophe Monniez <moc@odoo.com> | 2021-04-28 06:29:38 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2021-04-29 14:18:06 +0000 |
| commit | 91dd6171dac567e5f0185e53982ede3b166cfe7c (patch) | |
| tree | 70b6bd9597a29b128c96e41da9adaa65b07eab73 /addons | |
| parent | 1c39814bd729cc08882f1545c7d88b0592e63f9a (diff) | |
[FIX] core: avoid deprecation warning in requests_toolbelt
The requests_toolbelt package < 0.9 uses `from collections import ...`
which is deprecated in python 3.8 [0].
The request_toolbelt package is not a dependency of Odoo but is needed
by zeep [1]. Unfortunately, the Ubuntu python3-requests-toolbelt package
is still 0.8 [2].
This commit filters out the warning.
[0] https://github.com/requests/toolbelt/commit/979f95266c2044893b05cb2314e94c899915748c
[1] https://packages.ubuntu.com/focal/python3-zeep
[2] https://packages.ubuntu.com/focal/python3-requests-toolbelt
closes odoo/odoo#70137
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions
