]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-145351: use `--no-install-recommends` (GH-145352) (#145403)
authorThomas Kowalski <thom.kowa@gmail.com>
Sun, 1 Mar 2026 20:41:23 +0000 (21:41 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Mar 2026 20:41:23 +0000 (22:41 +0200)
.github/workflows/build.yml
.github/workflows/posix-deps-apt.sh
.github/workflows/regen-abidump.sh
.github/workflows/reusable-docs.yml
.github/workflows/reusable-ubuntu.yml

index b6c28bf7f46263caf528bad9892cbdcc78611209..339569ab4ab92946737c9f02fe43ef1dc8a295ee 100644 (file)
@@ -64,7 +64,7 @@ jobs:
       - name: Install dependencies
         run: |
             sudo ./.github/workflows/posix-deps-apt.sh
-            sudo apt-get install -yq abigail-tools
+            sudo apt-get install -yq --no-install-recommends abigail-tools
       - name: Build CPython
         env:
           CFLAGS: -g3 -O0
index 7773222af5d26f9dadd0712feb0ea31875d6cbcd..21f5e22bb99e2d9c18ff07d709d81878449a326a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 apt-get update
 
-apt-get -yq install \
+apt-get -yq --no-install-recommends install \
     build-essential \
     pkg-config \
     ccache \
index 251bb3857ecfcb64ab6fe7c0e6b2f96b37ed4392..75a1a72e370202467bb92cd801f8aed05179f93c 100644 (file)
@@ -2,7 +2,7 @@ set -ex
 
 export DEBIAN_FRONTEND=noninteractive
 ./.github/workflows/posix-deps-apt.sh
-apt-get install -yq abigail-tools python3
+apt-get install -yq --no-install-recommends abigail-tools python3
 export CFLAGS="-g3 -O0"
 ./configure --enable-shared && make
 make regen-abidump
index fc68c040fca0596c6cf82375e4270c04b60f6e1b..c1e58fd44d37903f98c8c1e06b6e9c6fb6bc66b6 100644 (file)
@@ -92,7 +92,7 @@ jobs:
         restore-keys: |
           ubuntu-doc-
     - name: 'Install Dependencies'
-      run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican
+      run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install --no-install-recommends wamerican
     - name: 'Configure CPython'
       run: ./configure --with-pydebug
     - name: 'Build CPython'
index ad725e92f2b20fe96a09565bc88a37b4a1e24517..9a98693ac12a6b4c3e0299d3b997a99f15d13a90 100644 (file)
@@ -42,7 +42,7 @@ jobs:
       if: ${{ fromJSON(inputs.bolt-optimizations) }}
       run: |
         sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 19
-        sudo apt-get install bolt-19
+        sudo apt-get install --no-install-recommends bolt-19
         echo PATH="$(llvm-config-19 --bindir):$PATH" >> $GITHUB_ENV
     - name: Configure OpenSSL env vars
       run: |