Skip to content

Commit

Permalink
Systematically add PIP_BREAK_SYSTEM_PACKAGES to all .yml files from…
Browse files Browse the repository at this point in the history
… 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: docker-library/gcc#95)

* bug fix (matrix did not work as hoped)
  • Loading branch information
rwgk committed Jun 17, 2023
1 parent 86f60a0 commit 8493228
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
cancel-in-progress: true

env:
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_ONLY_BINARY: numpy
FORCE_COLOR: 3
PYTEST_TIMEOUT: 300
Expand Down Expand Up @@ -455,16 +456,16 @@ jobs:
fail-fast: false
matrix:
include:
- { gcc: 7, std: 11 }
- { gcc: 7, std: 17 }
- { gcc: 8, std: 14 }
- { gcc: 8, std: 17 }
- { gcc: 10, std: 17 }
- { gcc: 11, std: 20 }
- { gcc: 12, std: 20 }
- { gcc: 7, std: 11, container_suffix: "" }
- { gcc: 7, std: 17, container_suffix: "" }
- { gcc: 8, std: 14, container_suffix: "" }
- { gcc: 8, std: 17, container_suffix: "" }
- { gcc: 10, std: 17, container_suffix: "-bullseye" }
- { gcc: 11, std: 20, container_suffix: "" }
- { gcc: 12, std: 20, container_suffix: "" }

name: "🐍 3 • GCC ${{ matrix.gcc }} • C++${{ matrix.std }}• x64"
container: "gcc:${{ matrix.gcc }}"
container: "gcc:${{ matrix.gcc }}${{ matrix.container_suffix }}"

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:
contents: read

env:
PIP_BREAK_SYSTEM_PACKAGES: 1
# For cmake:
VERBOSE: 1

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ permissions:
contents: read

env:
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_ONLY_BINARY: numpy

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:
cancel-in-progress: true

env:
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_ONLY_BINARY: ":all:"
# For cmake:
VERBOSE: 1
Expand Down

0 comments on commit 8493228

Please sign in to comment.