From 2e1ed9b176ff36886fbc2a9c6242a8bf8bd168bc Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Dec 2023 13:50:02 +0100 Subject: [PATCH] pip on Alpine now also requires --break-system-packages --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 54a200e46..feb3f1828 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ###