From 15630086b46dfb83a7aa2516a2b6a7d2b81bafb6 Mon Sep 17 00:00:00 2001 From: Soheil Yasrebi <52513082+soheil@users.noreply.github.com> Date: Tue, 23 Jun 2020 19:07:06 -0700 Subject: [PATCH] Remove python 3.8 dependency Uses the default python3 currently installed on the system since the current pre-release OSXI (Big Sur) does not build `python 3.8`, see https://github.com/Homebrew/homebrew-core/issues/56791 --- Formula/node.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/node.rb b/Formula/node.rb index 83869424a029e..91d8e7f34eb06 100644 --- a/Formula/node.rb +++ b/Formula/node.rb @@ -13,7 +13,7 @@ class Node < Formula end depends_on "pkg-config" => :build - depends_on "python@3.8" => :build +# depends_on "python@3.8" => :build depends_on "icu4c" # We track major/minor from upstream Node releases. @@ -25,7 +25,7 @@ class Node < Formula def install # make sure subprocesses spawned by make are using our Python 3 - ENV["PYTHON"] = Formula["python@3.8"].opt_bin/"python3" + ENV["PYTHON"] = "$(which python3)" # Never install the bundled "npm", always prefer our # installation from tarball for better packaging control.