Skip to content

Commit 8493228

Browse files
authored
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: docker-library/gcc#95) * bug fix (matrix did not work as hoped)
1 parent 86f60a0 commit 8493228

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
env:
19+
PIP_BREAK_SYSTEM_PACKAGES: 1
1920
PIP_ONLY_BINARY: numpy
2021
FORCE_COLOR: 3
2122
PYTEST_TIMEOUT: 300
@@ -455,16 +456,16 @@ jobs:
455456
fail-fast: false
456457
matrix:
457458
include:
458-
- { gcc: 7, std: 11 }
459-
- { gcc: 7, std: 17 }
460-
- { gcc: 8, std: 14 }
461-
- { gcc: 8, std: 17 }
462-
- { gcc: 10, std: 17 }
463-
- { gcc: 11, std: 20 }
464-
- { gcc: 12, std: 20 }
459+
- { gcc: 7, std: 11, container_suffix: "" }
460+
- { gcc: 7, std: 17, container_suffix: "" }
461+
- { gcc: 8, std: 14, container_suffix: "" }
462+
- { gcc: 8, std: 17, container_suffix: "" }
463+
- { gcc: 10, std: 17, container_suffix: "-bullseye" }
464+
- { gcc: 11, std: 20, container_suffix: "" }
465+
- { gcc: 12, std: 20, container_suffix: "" }
465466

466467
name: "🐍 3 • GCC ${{ matrix.gcc }} • C++${{ matrix.std }}• x64"
467-
container: "gcc:${{ matrix.gcc }}"
468+
container: "gcc:${{ matrix.gcc }}${{ matrix.container_suffix }}"
468469

469470
steps:
470471
- uses: actions/checkout@v3

.github/workflows/configure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions:
1313
contents: read
1414

1515
env:
16+
PIP_BREAK_SYSTEM_PACKAGES: 1
1617
# For cmake:
1718
VERBOSE: 1
1819

.github/workflows/pip.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616
contents: read
1717

1818
env:
19+
PIP_BREAK_SYSTEM_PACKAGES: 1
1920
PIP_ONLY_BINARY: numpy
2021

2122
jobs:

.github/workflows/upstream.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15+
PIP_BREAK_SYSTEM_PACKAGES: 1
1516
PIP_ONLY_BINARY: ":all:"
1617
# For cmake:
1718
VERBOSE: 1

0 commit comments

Comments
 (0)