Skip to content

Commit

Permalink
ci: do not use wheels for lxml
Browse files Browse the repository at this point in the history
These are incompatible with xmlsec, see xmlsec/python-xmlsec#316
  • Loading branch information
nijel committed Apr 18, 2024
1 parent 864f164 commit 3155b13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/pip-install
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ pip install $(sed -n 's/.*"\(wheel==\([^"]*\)\)".*/\1/p' pyproject.toml)
pip install --no-binary :all: cffi

if [ "${1:-latest}" = migrations ] ; then
pip install -e ".[all,mysql,ci]"
pip install --no-binary=lxml -e ".[all,mysql,ci]"
else
if [ "${1:-latest}" = minimal ] ; then
# Adjust deps to force minimal version
sed -i '/^ *"/ s/>=/==/' pyproject.toml
fi

if [ "${1:-latest}" = mypy ] ; then
pip install -e ".[all,mysql,ci,mypy,test]"
pip install --no-binary=lxml -e ".[all,mysql,ci,mypy,test]"
else
pip install -e ".[all,mysql,ci,test]"
pip install --no-binary=lxml -e ".[all,mysql,ci,test]"
fi
if [ "${1:-latest}" = edge ] ; then
pip install --upgrade-strategy eager -U -e ".[all,mysql,test,ci]"
pip install --no-binary=lxml --upgrade-strategy eager -U -e ".[all,mysql,test,ci]"
# Install from git / pre-release
pip install --no-deps --upgrade --force-reinstall https://github.com/translate/translate/archive/master.zip
pip install --no-deps --upgrade --force-reinstall https://github.com/WeblateOrg/language-data/archive/main.zip
Expand Down

0 comments on commit 3155b13

Please sign in to comment.