]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] CI: Move Homebrew dependencies into Brewfile (GH-148335) (GH-149884) (#149988) 3.12
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 May 2026 14:37:53 +0000 (16:37 +0200)
committerGitHub <noreply@github.com>
Fri, 22 May 2026 14:37:53 +0000 (14:37 +0000)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
.github/workflows/reusable-macos.yml
Misc/Brewfile [new file with mode: 0644]

index 9c94aec4ce0d22c8dcd9040aa8e5c69a8b8ef496..0844189ba90ec4af64d02c17e5e69fcdaa154cee 100644 (file)
@@ -45,7 +45,7 @@ jobs:
         key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ inputs.config_hash }}
     - name: Install Homebrew dependencies
       run: |
-        brew install pkg-config openssl@3.0 xz gdbm tcl-tk@8
+        brew bundle --file=Misc/Brewfile
         # Because alternate versions are not symlinked into place by default:
         brew link --overwrite tcl-tk@8
     - name: Configure CPython
diff --git a/Misc/Brewfile b/Misc/Brewfile
new file mode 100644 (file)
index 0000000..37e3acd
--- /dev/null
@@ -0,0 +1,14 @@
+brew "gdbm"
+brew "mpdecimal"
+brew "openssl@3.0"
+brew "pkg-config"
+brew "tcl-tk@8"
+brew "xz"
+brew "zstd"
+
+brew "bzip2" if OS.linux?
+brew "libedit" if OS.linux?
+brew "libffi" if OS.linux?
+brew "ncurses" if OS.linux?
+brew "unzip" if OS.linux?
+brew "zlib-ng-compat" if OS.linux?