Skip to content

Commit

Permalink
[CI] Fucking PEP 668 makes pip unusable
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Oct 14, 2024
1 parent b85b56c commit f8323be
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ jobs:
with:
submodules: recursive

- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Dependencies
run: |
sudo apt-get -y install g++ ninja-build gzip tabix pigz gztool libarchive-dev zlib1g-dev isal nasm
Expand Down Expand Up @@ -217,6 +221,10 @@ jobs:
run: |
sudo apt-get -y install clang g++ ninja-build gzip tabix pigz gztool libarchive-dev zlib1g-dev isal nasm
- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Python Dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down Expand Up @@ -267,6 +275,10 @@ jobs:
run: |
sudo apt-get -y install clang g++ ninja-build gzip tabix pigz gztool libarchive-dev zlib1g-dev isal nasm
- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Python Dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down Expand Up @@ -316,6 +328,10 @@ jobs:
run: |
sudo apt-get -y install clang g++ ninja-build gzip tabix pigz gztool libarchive-dev zlib1g-dev isal nasm
- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Python Dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down Expand Up @@ -347,6 +363,10 @@ jobs:
with:
submodules: recursive

- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Dependencies
run: |
sudo apt-get -y install clang g++ ninja-build gzip tabix pigz gztool libarchive-dev zlib1g-dev isal nasm
Expand Down Expand Up @@ -439,6 +459,10 @@ jobs:
break-system-packages = true
EOF
- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Python Dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
run: |
sudo apt-get -y install bzip2 pbzip2 lbzip2 g++ zlib1g-dev
- name: Fix pip
run: |
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> "${GITHUB_ENV}"
- name: Install Python Modules
run: |
python3 -m pip install --upgrade pip
Expand Down

0 comments on commit f8323be

Please sign in to comment.