]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/linux: fixup pip for Ubuntu 24.04
authorViktor Szakats <commit@vsz.me>
Mon, 14 Oct 2024 01:01:41 +0000 (03:01 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 14 Oct 2024 01:17:36 +0000 (03:17 +0200)
`ubuntu-latest` became `ubuntu-24.04` today.

Closes #15287

.github/workflows/http3-linux.yml
.github/workflows/linux.yml

index a0a7e3216633a74ea541881f9a8f671bc30fa00a..164a13f92f49ba5ee2805f8c26be0f4bb26363d6 100644 (file)
@@ -501,7 +501,7 @@ jobs:
 
       - name: 'install test prereqs'
         run: |
-          sudo python3 -m pip install -r tests/requirements.txt
+          sudo python3 -m pip install --break-system-packages -r tests/requirements.txt
 
       - name: 'run tests'
         env:
@@ -515,7 +515,7 @@ jobs:
 
       - name: 'install pytest prereqs'
         run: |
-          sudo python3 -m pip install -r tests/http/requirements.txt
+          sudo python3 -m pip install --break-system-packages -r tests/http/requirements.txt
 
       - name: cache mod_h2
         uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
index 10ef656e614fb3f0abe6630f00eb71b35706ce38..376bcd84e2d6f620edc6d889a6fcdc34a45f175f 100644 (file)
@@ -627,7 +627,7 @@ jobs:
       - name: 'install test prereqs'
         if: ${{ matrix.build.install_steps != 'skipall' && !startsWith(matrix.build.container, 'alpine') && matrix.build.container == null }}
         run: |
-          sudo python3 -m pip install -r tests/requirements.txt
+          sudo python3 -m pip install --break-system-packages -r tests/requirements.txt
 
       - name: 'run tests'
         if: ${{ matrix.build.install_steps != 'skipall' && matrix.build.install_steps != 'skiprun' }}
@@ -649,7 +649,7 @@ jobs:
       - name: 'install pytest prereqs'
         if: contains(matrix.build.install_steps, 'pytest')
         run: |
-          sudo python3 -m pip install -r tests/http/requirements.txt
+          sudo python3 -m pip install --break-system-packages -r tests/http/requirements.txt
 
       - name: cache mod_h2
         if: contains(matrix.build.install_steps, 'pytest')