Skip to content

Commit 911c537

Browse files
committed
Build lxml with --no-binary
1 parent ba1e39c commit 911c537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/macosx.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
echo "LLVM_PROFILE_FILE=pyxmlsec.profraw" >> $GITHUB_ENV
3636
- name: Install test dependencies
3737
run: |
38-
pip install coverage --upgrade -r requirements-test.txt
38+
export PKG_CONFIG_PATH="$(brew --prefix)/opt/libxml2/lib/pkgconfig"
39+
pip install coverage --upgrade --no-binary=lxml -r requirements-test.txt
3940
pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
4041
echo "PYXMLSEC_LIBFILE=$(python -c 'import xmlsec; print(xmlsec.__file__)')" >> $GITHUB_ENV
4142
- name: Run tests

0 commit comments

Comments
 (0)