https://github.com/python/cpython/commit/9b06672291dc7f2d5add8395ae89a38481968279
commit: 9b06672291dc7f2d5add8395ae89a38481968279
branch: 3.14
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2026-05-18T16:32:51+03:00
summary:

[3.14] CI: Move Homebrew dependencies into Brewfile (GH-148335) (#149883)

Co-authored-by: Brett Cannon <[email protected]>

files:
A Misc/Brewfile
M .github/workflows/reusable-macos.yml

diff --git a/.github/workflows/reusable-macos.yml 
b/.github/workflows/reusable-macos.yml
index 588c76366eb4c5..65213e4a8d0ac4 100644
--- a/.github/workflows/reusable-macos.yml
+++ b/.github/workflows/reusable-macos.yml
@@ -38,7 +38,8 @@ jobs:
       run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
     - name: Install Homebrew dependencies
       run: |
-        brew install pkg-config [email protected] xz gdbm tcl-tk@8 make
+        brew bundle --file=Misc/Brewfile
+        brew install make
         # 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
index 00000000000000..2459da17c2cd73
--- /dev/null
+++ b/Misc/Brewfile
@@ -0,0 +1,15 @@
+brew "gdbm"
+brew "mpdecimal"
+brew "[email protected]"
+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?

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to