https://github.com/python/cpython/commit/b286d98783db0c1169f558b4c6d7512cb3264274
commit: b286d98783db0c1169f558b4c6d7512cb3264274
branch: 3.10
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2026-05-22T14:33:31Z
summary:

[3.10] CI: Move Homebrew dependencies into Brewfile (GH-148335) (GH-149884) 
(#149990)

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

files:
A Misc/Brewfile
M .github/workflows/build.yml

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7cbd43da6fc94a2..46bd45231454994 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -189,7 +189,7 @@ jobs:
     - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
     - name: Install Homebrew dependencies
       run: |
-        brew install pkg-config [email protected] xz gdbm tcl-tk@8
+        brew bundle --file=Misc/Brewfile
         # Because alternate versions are not symlinked into place by default:
         brew link tcl-tk@8
     - name: Configure CPython
diff --git a/Misc/Brewfile b/Misc/Brewfile
new file mode 100644
index 000000000000000..37e3acde4a057a6
--- /dev/null
+++ b/Misc/Brewfile
@@ -0,0 +1,14 @@
+brew "gdbm"
+brew "mpdecimal"
+brew "[email protected]"
+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?

_______________________________________________
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