From 92f78e09de70099c0fc19150be5723b0efd8b001 Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 27 Oct 2023 00:05:37 +0200 Subject: Work around pip now needing a new feature switch for no good reason ...except to break every CI pipeline in existence, that is. --- .gitlab-ci.yml | 6 ++++-- svg-flatten/svg-flatten-wasi-ci.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65896fb..74de1aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,9 @@ build:gerbolyze: GIT_SUBMODULE_STRATEGY: none script: - git config --global --add safe.directory "$CI_PROJECT_DIR" - - pip3 install --user wheel + # --break-system-packages to work around the latest way some galaxy brain messed up python's packaging stuff even + # further just to break this CI pipeline for no reason :/ + - pip3 install --user --break-system-packages wheel - python3 setup.py sdist bdist_wheel artifacts: name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbolyze" @@ -93,7 +95,7 @@ test:svg-flatten-ubuntu_rolling: - git config --global --add safe.directory "$CI_PROJECT_DIR" - "export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH" - "touch svg-flatten/build/svg-flatten svg-flatten/build/nopencv-test" - - pip3 install --user 'pillow>=9.1.1' + - pip3 install --user --break-system-packages 'pillow>=9.1.1' - "python3 setup.py install --user" - "gerbolyze --help" - "make -C svg-flatten tests" diff --git a/svg-flatten/svg-flatten-wasi-ci.yml b/svg-flatten/svg-flatten-wasi-ci.yml index 25e3ed5..dfca567 100644 --- a/svg-flatten/svg-flatten-wasi-ci.yml +++ b/svg-flatten/svg-flatten-wasi-ci.yml @@ -21,7 +21,7 @@ publish:svg-flatten-wasi: image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" cache: {} script: - - pip install -U --user twine + - pip install -U --user --break-system-packages twine - export TWINE_USERNAME TWINE_PASSWORD - twine upload svg-flatten/dist/* dependencies: -- cgit