Skip to content

Commit

Permalink
semgrep: migrate to python@3.9
Browse files Browse the repository at this point in the history
Closes #62866.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
fxcoudert committed Oct 14, 2020
1 parent 9682f6f commit 0a05ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/semgrep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Semgrep < Formula
depends_on "ocaml" => :build
depends_on "opam" => :build
depends_on "pkg-config" => :build
depends_on "python@3.8"
depends_on "python@3.9"

resource "attrs" do
url "https://files.pythonhosted.org/packages/81/d0/641b698d05f0eaea4df4f9cebaff573d7a5276228ef6b7541240fe02f3ad/attrs-20.2.0.tar.gz"
Expand Down Expand Up @@ -156,7 +156,7 @@ def install

python_path = "semgrep"
cd python_path do
venv = virtualenv_create(libexec, Formula["python@3.8"].bin/"python3.8")
venv = virtualenv_create(libexec, Formula["python@3.9"].bin/"python3.9")
venv.pip_install resources
venv.pip_install_and_link buildpath/python_path
end
Expand Down

0 comments on commit 0a05ed0

Please sign in to comment.