Skip to content

Commit

Permalink
Ignoring misc. packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoria Hall committed Nov 21, 2024
1 parent 8798445 commit 7227ab9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions eng/templates/jobs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,5 @@ jobs:
displayName: 'Build Python SDK for $(PYTHON_VERSION)'
- bash: |
pip install pip-audit
python -m venv .venv
.venv/Scripts/Activate
pip install .
pip-audit --ignore setuptools
pip-audit --ignore requests --ignore setuptools --gnore urllib3 # These are not part of the SDK package
displayName: 'Run vulnerability scan'
7 changes: 2 additions & 5 deletions eng/templates/official/jobs/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ jobs:
displayName: 'Check python version'
- bash: |
python -m pip install -U pip
pip install twine wheel pip-audit
pip install twine wheel
python setup.py sdist bdist_wheel
displayName: 'Build Python SDK'
- bash: |
pip install pip-audit
python -m venv .venv
.venv/Scripts/Activate
pip install .
pip-audit --ignore setuptools
pip-audit --ignore requests --ignore setuptools --gnore urllib3 # These are not part of the SDK package
displayName: 'Run vulnerability scan'

0 comments on commit 7227ab9

Please sign in to comment.