From 7634f5a9a1bd712f9daf6aeaff1dbaa5ff848c01 Mon Sep 17 00:00:00 2001 From: Steven Clark Date: Fri, 22 Jul 2022 09:58:11 -0400 Subject: [PATCH] update semgrep to 0.106.0 (#16420) * Update semgrep to 0.106.0 * Add required deps to build new semgrep dependency ujson - New Python dependency ujson for semgrep requires gcc, g++ and python3-dev. - python3-dev to pull in Python.h --- .circleci/config.yml | 4 ++-- .circleci/config/commands/setup-semgrep.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 23ed61af7..08c58fa44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -744,8 +744,8 @@ jobs: steps: - run: command: | - apk add --no-cache python3 py3-pip make - python3 -m pip install --user semgrep==0.97.0 + apk add --no-cache python3 python3-dev py3-pip make gcc g++ + python3 -m pip install --user semgrep==0.106.0 export PATH="$HOME/.local/bin:$PATH" echo "$ semgrep --version" diff --git a/.circleci/config/commands/setup-semgrep.yml b/.circleci/config/commands/setup-semgrep.yml index 7416e73a2..538d90399 100644 --- a/.circleci/config/commands/setup-semgrep.yml +++ b/.circleci/config/commands/setup-semgrep.yml @@ -6,8 +6,8 @@ steps: working_directory: ~/ name: Setup Semgrep command: | - apk add --no-cache python3 py3-pip make - python3 -m pip install --user semgrep==0.97.0 + apk add --no-cache python3 python3-dev py3-pip make gcc g++ + python3 -m pip install --user semgrep==0.106.0 export PATH="$HOME/.local/bin:$PATH" echo "$ semgrep --version"