Commit 84932280 by Ralf W. Grosse-Kunstleve Committed by GitHub

Systematically add `PIP_BREAK_SYSTEM_PACKAGES` to all .yml files from which pip is called. (#4705)

* Systematically add PIP_BREAK_SYSTEM_PACKAGES to all .yml files from which pip is called.

* Try gcc:10-bullseye (because gcc:10 is broken: https://github.com/docker-library/gcc/issues/95)

* bug fix (matrix did not work as hoped)
parent 86f60a0c
...@@ -16,6 +16,7 @@ concurrency: ...@@ -16,6 +16,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_ONLY_BINARY: numpy PIP_ONLY_BINARY: numpy
FORCE_COLOR: 3 FORCE_COLOR: 3
PYTEST_TIMEOUT: 300 PYTEST_TIMEOUT: 300
...@@ -455,16 +456,16 @@ jobs: ...@@ -455,16 +456,16 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- { gcc: 7, std: 11 } - { gcc: 7, std: 11, container_suffix: "" }
- { gcc: 7, std: 17 } - { gcc: 7, std: 17, container_suffix: "" }
- { gcc: 8, std: 14 } - { gcc: 8, std: 14, container_suffix: "" }
- { gcc: 8, std: 17 } - { gcc: 8, std: 17, container_suffix: "" }
- { gcc: 10, std: 17 } - { gcc: 10, std: 17, container_suffix: "-bullseye" }
- { gcc: 11, std: 20 } - { gcc: 11, std: 20, container_suffix: "" }
- { gcc: 12, std: 20 } - { gcc: 12, std: 20, container_suffix: "" }
name: "🐍 3 GCC ${{ matrix.gcc }} C++${{ matrix.std }}• x64" name: "🐍 3 GCC ${{ matrix.gcc }} C++${{ matrix.std }}• x64"
container: "gcc:${{ matrix.gcc }}" container: "gcc:${{ matrix.gcc }}${{ matrix.container_suffix }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
......
...@@ -13,6 +13,7 @@ permissions: ...@@ -13,6 +13,7 @@ permissions:
contents: read contents: read
env: env:
PIP_BREAK_SYSTEM_PACKAGES: 1
# For cmake: # For cmake:
VERBOSE: 1 VERBOSE: 1
......
...@@ -16,6 +16,7 @@ permissions: ...@@ -16,6 +16,7 @@ permissions:
contents: read contents: read
env: env:
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_ONLY_BINARY: numpy PIP_ONLY_BINARY: numpy
jobs: jobs:
......
...@@ -12,6 +12,7 @@ concurrency: ...@@ -12,6 +12,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_ONLY_BINARY: ":all:" PIP_ONLY_BINARY: ":all:"
# For cmake: # For cmake:
VERBOSE: 1 VERBOSE: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment