diff --git a/Formula/c/certifi.rb b/Formula/c/certifi.rb index a99f6f085e330..5f9301945f0f8 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 + # Ensure uniform 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), "."