From 0ac80328d8dfb49f5344a5b3912fc42e6cf28fa0 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Tue, 27 Feb 2024 16:36:29 -0800 Subject: [PATCH] Python 2: restrict to macOS. Homebrew does not ship python 2, which makes the dependency wrong on Linux as it resolves to current Python 3. Also, we already limit it to an older version of macOS (11 and older), which still ships Python 2. Note that our "weekly" CI builds are using macOS 11 to build this formula. --- Formula/unit-python.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/unit-python.rb b/Formula/unit-python.rb index 6145c8e..888c3b9 100644 --- a/Formula/unit-python.rb +++ b/Formula/unit-python.rb @@ -5,6 +5,7 @@ class UnitPython < Formula sha256 "4b5e9be3f3990fceabf06292c2b7853667aceb71fd8de5dc67cb7fb05d247a20" head "https://github.com/nginx/unit.git", branch: "master" + depends_on :macos depends_on maximum_macos: :big_sur depends_on "openssl" depends_on "unit@1.32.0"