pip on Alpine now also requires --break-system-packages

This commit is contained in:
Fabio Manganiello 2023-12-18 13:50:02 +01:00
parent cfc7a5a6a0
commit 2e1ed9b176
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -114,8 +114,8 @@ steps:
commands:
- echo "Installing required build dependencies"
- apk add --update --no-cache git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt)
- pip install -U sphinx-rtd-theme sphinx-book-theme
- pip install .
- pip install -U sphinx-rtd-theme sphinx-book-theme --break-system-packages
- pip install . --break-system-packages
- mkdir -p /docs/current
- export APPDIR=$PWD
- rm -rf "$APPDIR/docs/build"
@ -150,8 +150,8 @@ steps:
image: alpine
commands:
- apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt)
- pip install .
- pip install -r requirements-tests.txt
- pip install . --break-system-packages
- pip install -r requirements-tests.txt --break-system-packages
- pytest tests
###