From ee236cf6939f6f4658c9d1c373a3ec6ded44b4f0 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 20 Sep 2024 02:01:11 +0800 Subject: [PATCH 1/2] python-build: build an `:all` bottle There's a stray `/usr/local` in a code comment. Let's just replace that with `HOMEBREW_PREFIX` so our bottles are the same across os versions. --- Formula/p/python-build.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/p/python-build.rb b/Formula/p/python-build.rb index d43f1a0b023d..db6a6db563ce 100644 --- a/Formula/p/python-build.rb +++ b/Formula/p/python-build.rb @@ -33,6 +33,9 @@ class PythonBuild < Formula def install virtualenv_install_with_resources + + # Ensure uniform bottles by replacing a `/usr/local` reference in a comment. + inreplace libexec/"lib/python3.12/site-packages/build/env.py", "/usr/local", HOMEBREW_PREFIX end test do From 11f30d0e88aed8fa8590fbae14a3c60b4d8fbd8e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 19 Sep 2024 18:43:40 +0000 Subject: [PATCH 2/2] python-build: update 1.2.2 bottle. --- Formula/p/python-build.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Formula/p/python-build.rb b/Formula/p/python-build.rb index db6a6db563ce..66d7ac2e2751 100644 --- a/Formula/p/python-build.rb +++ b/Formula/p/python-build.rb @@ -9,14 +9,8 @@ class PythonBuild < Formula head "https://github.com/pypa/build.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "d4a9e1c5df3fb300ca785a9aa478e78ee86c0c91d0acedbaba29e67a10bfcc31" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895" - sha256 cellar: :any_skip_relocation, arm64_ventura: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895" - sha256 cellar: :any_skip_relocation, arm64_monterey: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895" - sha256 cellar: :any_skip_relocation, sonoma: "d4ea94bfdc112f2ae7026b4eef2353969fca988ea4d80f57a76ef28b0796cf1c" - sha256 cellar: :any_skip_relocation, ventura: "d4ea94bfdc112f2ae7026b4eef2353969fca988ea4d80f57a76ef28b0796cf1c" - sha256 cellar: :any_skip_relocation, monterey: "d4ea94bfdc112f2ae7026b4eef2353969fca988ea4d80f57a76ef28b0796cf1c" - sha256 cellar: :any_skip_relocation, x86_64_linux: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895" + rebuild 1 + sha256 cellar: :any_skip_relocation, all: "3af731d79dae765ec4189d4b411ef8f86b20fe27ff997e99a2870a156459beab" end depends_on "python@3.12"