Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] packaging: fix lxml.html.clean split
Since lxml.html.clean was moved to a separate package starting in lxml 5.2 the odoo Debian package was broken in Ubuntu 24.04. A first fix was attempted in 318df32. While the package was properly built with this fix and was installable, but Odoo failed to start under Ubuntu. The bug flew under the radar because the simple test after the package build is done with a Docker based on Debian Bookworm. In fact, the fix was not taken into account because the python packages defined in the debian/control are not really taken into account by dh_python3 that tries to compute the python dependencies. With this commit, a py3dist-overrides file is used to overrides the package mapping between python packages and debian packages. The same pipe trick is used as in the previous fix to ensure that the package is installable in Ubuntu 24.04 (which provides python3-lxml-html) and in Debian Bookworm (which does not provide the python3-lxm-html). Finally, the Docker image used for the build and the test is changed to use Ubuntu 24.04. closes odoo#181388 Signed-off-by: Xavier Dollé (xdo) <[email protected]>
- Loading branch information