Sunday, November 3, 2024
1 change · saas-17.2
Miscellaneous changes
`importlib.load_module` has been deprecated in Py3.10 and removed in Py3.12. `reportlab` uses that function until 4.0.6. Inside Ubuntu Jammy we have Py3.10 and reportlab 3.8, a deprecatation warning is emitted upon importing reportlab. Inside Ubuntu Noble, we have Py3.12 and reportlab 4.1.0, reportlab doesn't use `load_module` anymore so no warning is emitted. In the version that matters (Py3.12) the problem is solved so the deprecation warning is more noise than anything useful, ignore
Original PR description
`importlib.load_module` has been deprecated in Py3.10 and removed in Py3.12. `reportlab` uses that function until 4.0.6. Inside Ubuntu Jammy we have Py3.10 and reportlab 3.8, a deprecatation warning is emitted upon importing reportlab. Inside Ubuntu Noble, we have Py3.12 and reportlab 4.1.0, reportlab doesn't use `load_module` anymore so no warning is emitted. In the version that matters (Py3.12) the problem is solved so the deprecation warning is more noise than anything useful, ignore the warning until we drop support for py3.10/py3.11. Forward-Port-Of: odoo/odoo#185098 Forward-Port-Of: odoo/odoo#185052