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'