Skip to content

Commit

Permalink
ci: install xmlsec wheel manually
Browse files Browse the repository at this point in the history
This seems better approach than building lxml which can not be cached.

See xmlsec/python-xmlsec#316
  • Loading branch information
nijel committed Apr 19, 2024
1 parent 24b98f2 commit 08dbc28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/pip-install
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ pip install $(sed -n 's/.*"\(wheel==\([^"]*\)\)".*/\1/p' pyproject.toml)
pip install --no-binary :all: cffi

# workaround for lxml/xmlsec1 compatibility, see https://github.com/xmlsec/python-xmlsec/issues/316
# shellcheck disable=SC2046
pip install --no-binary :all: $(sed -n 's/.*"\(lxml[><=]\([^"]*\)\)".*/\1/p' pyproject.toml)
PYVERMARK=$(python -c 'import sys; print(f"{sys.version_info.major}{sys.version_info.minor}")')
pip install "https://github.com/xmlsec/python-xmlsec/releases/download/1.3.14/xmlsec-1.3.14-cp${PYVERMARK}-cp${PYVERMARK}-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"

if [ "${1:-latest}" = migrations ] ; then
pip install -e ".[all,mysql,ci]"
Expand Down

0 comments on commit 08dbc28

Please sign in to comment.