]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] CI: Move Homebrew dependencies into Brewfile (GH-148335) (#149884)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Mon, 18 May 2026 13:33:04 +0000 (16:33 +0300)
committerGitHub <noreply@github.com>
Mon, 18 May 2026 13:33:04 +0000 (16:33 +0300)
Co-authored-by: Brett Cannon <brett@python.org>
.github/workflows/reusable-macos.yml
Misc/Brewfile [new file with mode: 0644]

index e7e2a0afd341f71256731392d1d38dbc026118d8..04f4d03b49129a2bdde28464f4ec9dd044e5a1db 100644 (file)
@@ -38,7 +38,7 @@ jobs:
       run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
     - 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..2459da1
--- /dev/null
@@ -0,0 +1,15 @@
+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 "expat" 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?