From bca1c55a83f7f8e81362aac506498d2f92b8d792 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Thu, 21 Nov 2024 10:19:26 -0600 Subject: [PATCH] Ignoring double setuptools --- eng/templates/jobs/build.yml | 3 ++- eng/templates/official/jobs/build-artifacts.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index eb48c1ac..8c831fe8 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -31,5 +31,6 @@ jobs: displayName: 'Build Python SDK for $(PYTHON_VERSION)' - bash: | pip install pip-audit - pip-audit --ignore requests --ignore setuptools --gnore urllib3 # These are not part of the SDK package + # These are not part of the SDK package. setuptools is present in 2 different places + pip-audit --ignore requests --ignore setuptools --ignore setuptools --ignore urllib3 displayName: 'Run vulnerability scan' diff --git a/eng/templates/official/jobs/build-artifacts.yml b/eng/templates/official/jobs/build-artifacts.yml index 0493af57..d2762918 100644 --- a/eng/templates/official/jobs/build-artifacts.yml +++ b/eng/templates/official/jobs/build-artifacts.yml @@ -28,5 +28,6 @@ jobs: displayName: 'Build Python SDK' - bash: | pip install pip-audit - pip-audit --ignore requests --ignore setuptools --gnore urllib3 # These are not part of the SDK package + # These are not part of the SDK package. setuptools is present in 2 different places + pip-audit --ignore requests --ignore setuptools --ignore setuptools --ignore urllib3 displayName: 'Run vulnerability scan'