]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-145351: use `--no-install-recommends` (#145352)
authorThomas Kowalski <thom.kowa@gmail.com>
Sun, 1 Mar 2026 15:24:42 +0000 (16:24 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Mar 2026 15:24:42 +0000 (15:24 +0000)
.github/workflows/posix-deps-apt.sh
.github/workflows/regen-abidump.sh
.github/workflows/reusable-docs.yml
.github/workflows/reusable-ubuntu.yml

index a2fac7c66db1d9cd50251e3ce4d1b6f0cc1e046c..7994a01ee4624ed7afdc96aec316b160fb4eb100 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 \
     cmake \
@@ -31,4 +31,4 @@ apt-get -yq install \
 # https://deb.sury.org/
 sudo add-apt-repository ppa:ondrej/php
 apt-get update
-apt-get -yq install libmpdec-dev
+apt-get -yq --no-install-recommends install libmpdec-dev
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 9032ac016e4810d66a5dfd297fa3e0d4fa4276e6..6464590dee4776b65eb9054f4d8f3e2be54a3e45 100644 (file)
@@ -47,7 +47,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: |