Skip to content

Commit 7227ab9

Browse files
author
Victoria Hall
committed
Ignoring misc. packages
1 parent 8798445 commit 7227ab9

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

eng/templates/jobs/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,5 @@ jobs:
3131
displayName: 'Build Python SDK for $(PYTHON_VERSION)'
3232
- bash: |
3333
pip install pip-audit
34-
python -m venv .venv
35-
.venv/Scripts/Activate
36-
pip install .
37-
pip-audit --ignore setuptools
34+
pip-audit --ignore requests --ignore setuptools --gnore urllib3 # These are not part of the SDK package
3835
displayName: 'Run vulnerability scan'

eng/templates/official/jobs/build-artifacts.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@ jobs:
2323
displayName: 'Check python version'
2424
- bash: |
2525
python -m pip install -U pip
26-
pip install twine wheel pip-audit
26+
pip install twine wheel
2727
python setup.py sdist bdist_wheel
2828
displayName: 'Build Python SDK'
2929
- bash: |
3030
pip install pip-audit
31-
python -m venv .venv
32-
.venv/Scripts/Activate
33-
pip install .
34-
pip-audit --ignore setuptools
31+
pip-audit --ignore requests --ignore setuptools --gnore urllib3 # These are not part of the SDK package
3532
displayName: 'Run vulnerability scan'

0 commit comments

Comments
 (0)