Skip to content

Commit 1442f69

Browse files
authored
Fix lxml build error by installing system dependencies (#1901)
- Add step to install libxml2-dev and libxslt1-dev before Python dependencies - Required for building lxml==5.3.0 from source - Fixes 'Error: Please make sure the libxml2 and libxslt development packages are installed'
1 parent 348a9c2 commit 1442f69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-deploy-website.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
uses: actions/setup-python@v5
2424
with:
2525
python-version: '3.x'
26+
- name: Install system dependencies for lxml
27+
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt1-dev
2628
- name: Install Python dependencies
2729
run: make install-python-requirements
2830
- name: Run build script

0 commit comments

Comments
 (0)