From 72a48dfd0507a3aa29c8188ea1e727cc51852b0e Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sun, 28 Jul 2024 11:47:19 -0700 Subject: [PATCH] awscli: remove stale workaround --- Formula/a/awscli.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Formula/a/awscli.rb b/Formula/a/awscli.rb index fcf03f83d337e..64033fb15425e 100644 --- a/Formula/a/awscli.rb +++ b/Formula/a/awscli.rb @@ -121,9 +121,7 @@ def install ENV.append_to_cflags "-Wno-incompatible-function-pointer-types" if DevelopmentTools.clang_build_version >= 1500 venv = virtualenv_create(libexec, python3, system_site_packages: false) - venv.pip_install resources.reject { |r| r.name == "awscrt" } - # The `awscrt` resource requires `setuptools` & `wheel`, so they must be installed first - venv.pip_install resource("awscrt") + venv.pip_install resources venv.pip_install_and_link buildpath, build_isolation: false pkgshare.install "awscli/examples" @@ -151,6 +149,6 @@ def caveats test do assert_match "topics", shell_output("#{bin}/aws help") site_packages = libexec/Language::Python.site_packages(python3) - assert_includes Dir[site_packages/"awscli/data/*"], "#{site_packages}/awscli/data/ac.index" + assert_includes site_packages.glob("awscli/data/*"), site_packages/"awscli/data/ac.index" end end