From 24758de2f0d2610961cf7484937c6c67c3c36e37 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 12 Feb 2024 17:28:45 +0100 Subject: [PATCH] :alien: Fix CI build - skip binary lxml Per upstream docs: https://lxml.de/FAQ.html\#my-application-crashes lxml should usually not be installed from binary wheel due to the likelihood of a libxml2 mismatch. Installing with --no-binary lxml ensures that lxml is built against the system libraries. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 3d41b52..5294834 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,8 @@ deps = django32: Django~=3.2 django41: Django~=4.1 django42: Django~=4.2 +install_command = + python -I -m pip install {opts} --no-binary lxml {packages} commands = py.test tests \ --cov --cov-report xml:reports/coverage-{envname}.xml \