diff --git a/Formula/node@16.rb b/Formula/node@16.rb index c5692086b60..6671d99ca20 100644 --- a/Formula/node@16.rb +++ b/Formula/node@16.rb @@ -27,7 +27,7 @@ class NodeAT16 < Formula # disable! date: "2023-09-11", because: :unsupported depends_on "pkg-config" => :build - depends_on "python@3.10" => :build + depends_on "python@3.11" => :build depends_on "brotli" depends_on "c-ares" depends_on "icu4c" @@ -46,7 +46,7 @@ class NodeAT16 < Formula fails_with gcc: "5" def install - python3 = "python3.10" + python3 = "python3.11" # make sure subprocesses spawned by make are using our Python 3 ENV["PYTHON"] = which(python3)