From 414aa8f4860dfaf8b2275ad28d49f895d5378be6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 18 May 2026 16:33:04 +0300 Subject: [PATCH] [3.10] CI: Move Homebrew dependencies into Brewfile (GH-148335) (GH-149884) (cherry picked from commit 419fe42b5aa25f0a72c9dfd0231477b05103074c) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Brett Cannon --- .github/workflows/build.yml | 2 +- Misc/Brewfile | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Misc/Brewfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7cbd43da6fc94a..46bd4523145499 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 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 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 "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?