diff --git a/Formula/p/prowler.rb b/Formula/p/prowler.rb index f6f0a24f0a974..a5516e4e9730e 100644 --- a/Formula/p/prowler.rb +++ b/Formula/p/prowler.rb @@ -24,7 +24,7 @@ class Prowler < Formula depends_on "cryptography" depends_on "libyaml" depends_on "numpy" - depends_on "python@3.12" + depends_on "python@3.12" # https://github.com/prowler-cloud/prowler/blob/master/pyproject.toml#L68 on_linux do depends_on "patchelf" => :build @@ -731,15 +731,9 @@ class Prowler < Formula end def install - ENV["PIP_USE_PEP517"] = "1" - # Multiple resources require `setuptools`, so it must be installed first - skipped = %w[plotly setuptools] - venv = virtualenv_create(libexec, "python3.12") - venv.pip_install resource("setuptools") - venv.pip_install resources.reject { |r| skipped.include? r.name } + venv = virtualenv_install_with_resources without: "plotly", start_with: "setuptools" venv.pip_install resource("plotly"), build_isolation: false - venv.pip_install_and_link buildpath end test do