diff options
author | jaseg <git@jaseg.de> | 2023-10-27 00:09:13 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-27 12:55:38 +0200 |
commit | 187c44555cb2c544587b9b17d4f8038b3a692beb (patch) | |
tree | b94827f748ce6444fd2d1f6a007572681381dab6 | |
parent | 36da1fd68bcfb44957d370584231545cee0b2e20 (diff) | |
download | gerbonara-187c44555cb2c544587b9b17d4f8038b3a692beb.tar.gz gerbonara-187c44555cb2c544587b9b17d4f8038b3a692beb.tar.bz2 gerbonara-187c44555cb2c544587b9b17d4f8038b3a692beb.zip |
Work around pip now requiring a new random feature switch to work
...for no good reason except to annoy anyone using it in a container.
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cb51ee..23c8e5c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ build:archlinux: GIT_SUBMODULE_STRATEGY: none script: - git config --global --add safe.directory "$CI_PROJECT_DIR" - - pip3 install --user wheel setuptools + - pip3 install --user --break-system-packages wheel setuptools - python3 setup.py sdist bdist_wheel artifacts: name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara" @@ -41,11 +41,11 @@ test:archlinux: paths: - gerbonara_test_failures/* -test:ubuntu2204: +test:ubuntu-rolling: stage: test - image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:22.04" + image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:rolling" script: - - python3 -m pip install pytest beautifulsoup4 pillow numpy slugify lxml click scipy + - python3 -m pip install --break-system-packages pytest beautifulsoup4 pillow numpy slugify lxml click scipy - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-symbols - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-footprints - env KICAD_SYMBOLS=kicad-symbols KICAD_FOOTPRINTS=kicad-footprints python3 -m pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*' @@ -83,7 +83,7 @@ publish:gerbonara: cache: {} script: - export TWINE_USERNAME TWINE_PASSWORD - - pip3 install --user twine rich + - pip3 install --user --break-system-packages twine rich - twine upload dist/* dependencies: - build:archlinux |