From 5109ac7c41e75de9c3eb2a2b6a9158a6964f3065 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Tue, 10 Dec 2024 20:06:34 -0500 Subject: [PATCH 1/2] certifi: drop support for `python@3.11` --- Formula/c/certifi.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Formula/c/certifi.rb b/Formula/c/certifi.rb index a99f6f085e330..78a2182a499e6 100644 --- a/Formula/c/certifi.rb +++ b/Formula/c/certifi.rb @@ -15,7 +15,6 @@ class Certifi < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169" end - depends_on "python@3.11" => [:build, :test] depends_on "python@3.12" => [:build, :test] depends_on "python@3.13" => [:build, :test] depends_on "ca-certificates" @@ -25,6 +24,9 @@ def pythons end def install + # Avoid difference in generated METADATA files across bottles + inreplace "README.rst", "/usr/local", HOMEBREW_PREFIX + pythons.each do |python| python_exe = python.opt_libexec/"bin/python" system python_exe, "-m", "pip", "install", *std_pip_args(build_isolation: true), "." @@ -34,6 +36,9 @@ def install rm prefix/site_packages/"certifi/cacert.pem" (prefix/site_packages/"certifi").install_symlink Formula["ca-certificates"].pkgetc/"cert.pem" => "cacert.pem" end + + # Revert first inreplace to avoid difference in README.rst across bottles + inreplace "README.rst", HOMEBREW_PREFIX, "/usr/local" end test do From 899992ffaf9347cbfd78323b0397651d1b0906cf Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 11 Dec 2024 23:45:23 +0000 Subject: [PATCH 2/2] certifi: update 2024.8.30_1 bottle. --- Formula/c/certifi.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Formula/c/certifi.rb b/Formula/c/certifi.rb index 78a2182a499e6..a6c1458930170 100644 --- a/Formula/c/certifi.rb +++ b/Formula/c/certifi.rb @@ -7,12 +7,8 @@ class Certifi < Formula revision 1 bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169" - sha256 cellar: :any_skip_relocation, arm64_ventura: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169" - sha256 cellar: :any_skip_relocation, sonoma: "1f1667b45b868ff09a3eb9f672c20299d7b49add64a1c6cf8d675b6b3ff5d5ba" - sha256 cellar: :any_skip_relocation, ventura: "1f1667b45b868ff09a3eb9f672c20299d7b49add64a1c6cf8d675b6b3ff5d5ba" - sha256 cellar: :any_skip_relocation, x86_64_linux: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169" + rebuild 1 + sha256 cellar: :any_skip_relocation, all: "f9369ee71eff19d9072af588bf640947ff6219129ac7fb63fe90a37fbbff9e0c" end depends_on "python@3.12" => [:build, :test]