Skip to content

Commit

Permalink
Python 2: restrict to macOS.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
thresheek committed Feb 28, 2024
1 parent 5efd5f7 commit 0ac8032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Formula/unit-python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
Expand Down

0 comments on commit 0ac8032

Please sign in to comment.