diff --git a/Formula/semgrep.rb b/Formula/semgrep.rb index 1c7dab5a15c..b90d2465e42 100644 --- a/Formula/semgrep.rb +++ b/Formula/semgrep.rb @@ -32,6 +32,7 @@ class Semgrep < Formula depends_on "pkg-config" => :build depends_on "jsonschema" depends_on "pcre" + depends_on "python-typing-extensions" depends_on "python@3.10" depends_on "tree-sitter" @@ -139,11 +140,6 @@ class Semgrep < Formula sha256 "5f4f682a004951c1b450bc753c710e9280c5746ce6ffedee253ddbcbf54cf1e4" end - resource "typing-extensions" do - url "https://files.pythonhosted.org/packages/9e/1d/d128169ff58c501059330f1ad96ed62b79114a2eb30b8238af63a2e27f70/typing_extensions-4.3.0.tar.gz" - sha256 "e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6" - end - resource "ujson" do url "https://files.pythonhosted.org/packages/6e/4a/03ddad85a10dd52e209993a14afa0cb0dc5c348e4647329f1c53856ad9e6/ujson-5.5.0.tar.gz" sha256 "b25077a971c7da47bd6846a912a747f6963776d90720c88603b1b55d81790780" diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index b81bd17d834..a1ecdd97c25 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -445,7 +445,7 @@ "exclude_packages": ["six"] }, "semgrep": { - "exclude_packages": ["jsonschema", "attrs", "pyrsistent"] + "exclude_packages": ["jsonschema", "attrs", "pyrsistent", "typing-extensions"] }, "sgr": { "exclude_packages": ["typing-extensions", "jsonschema", "attrs", "pyrsistent"]