-
- Downloads
[IMP] requirements: resolve compatibility issues for 3.8 and 3.9
Only updates outdated requirements which actively cause issues:
* freezegun broken in 3.8 (removal of time.clock)
* xlrd broken in 3.8 (removal of time.clock)
* also monkeypatches xlrd.xlsx for 3.9 (removal of
Element.getiterator, breaks because of defusedxml)
* jinja triggers DeprecationWarning in 3.8
* pillow triggers warning in 3.9
* lxml, greenlet don't compile in 3.9
* reportlab doesn't work in 3.9
New versions try to match those of Debian Bullseye.
Also adds a script to more easily compare dependency versions between
the requirements files and what's in various distributions (currently
supports checking against debian and ubuntu).
Furthermore updates warnings filtering:
* removes xlrd (mischeck was monkeypatched as noted above)
* removes setuptools (was for older versions, one would hope this
isn't an issue anymore)
* adds babel: python-babel/babel#684 fixes the deprecation warning but
is not part of any release yet
* ignores error related to `random.sample` on a set, this is a
diagnostics bug because recordsets implement both Sequence and Set,
and the stdlib checks for Set first (bpo-42470)
See #59980
Closes #61103
closes odoo/odoo#62380
Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
Showing
- odoo/netsvc.py 3 additions, 2 deletionsodoo/netsvc.py
- odoo/tools/__init__.py 1 addition, 0 deletionsodoo/tools/__init__.py
- odoo/tools/_monkeypatches.py 15 additions, 0 deletionsodoo/tools/_monkeypatches.py
- requirements.txt 17 additions, 9 deletionsrequirements.txt
- setup/requirements-check.py 377 additions, 0 deletionssetup/requirements-check.py
Loading
Please register or sign in to comment