Skip to content

Commit 900c278

Browse files
committed
fix: add system dependencies for Python 3.14 lxml build
- Install libxml2-dev and libxslt1-dev for Python 3.14 - Fixes lxml build failure in CI when using Python 3.14 - Required because lxml doesn't have pre-built wheels for Python 3.14 yet
1 parent c388062 commit 900c278

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/actions/setup-python-uv/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ runs:
2727
cache-dependency-glob: "pyproject.toml"
2828
cache-suffix: ${{ inputs.cache-key-suffix }}
2929

30+
- name: Install system dependencies for Python 3.14
31+
if: inputs.python-version == '3.14'
32+
shell: bash
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y libxml2-dev libxslt1-dev
36+
3037
- name: Generate pyproject.toml
3138
shell: bash
3239
run: make generate-pyproject

0 commit comments

Comments
 (0)