]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] CI: Move Homebrew dependencies into Brewfile (GH-148335) (GH-149884) (#149990) 3.10
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Fri, 22 May 2026 14:33:31 +0000 (17:33 +0300)
committerGitHub <noreply@github.com>
Fri, 22 May 2026 14:33:31 +0000 (14:33 +0000)
Co-authored-by: Brett Cannon <brett@python.org>
.github/workflows/build.yml
Misc/Brewfile [new file with mode: 0644]

index 7cbd43da6fc94a2491210185a87a238ebb6974f5..46bd4523145499432a3c41479509259befc0164b 100644 (file)
@@ -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 (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?