Skip to content

Commit

Permalink
👽 Fix CI build - skip binary lxml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sergei-maertens committed Feb 12, 2024
1 parent 5e7a958 commit 24758de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 24758de

Please sign in to comment.