Skip to content

Commit 28687d1

Browse files
author
Victoria Hall
committed
Separate list of requirements
1 parent 0028461 commit 28687d1

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

eng/templates/jobs/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ jobs:
3030
python setup.py sdist bdist_wheel
3131
displayName: 'Build Python SDK for $(PYTHON_VERSION)'
3232
- bash: |
33-
python -m venv .venv
34-
.venv/Scripts/Activate
3533
pip install pip-audit
36-
# Only audit dependencies of SDK
37-
pip install --no-dev .
38-
pip-audit
34+
pip-audit -r requirements.txt
3935
displayName: 'Run vulnerability scan'

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
python setup.py sdist bdist_wheel
2828
displayName: 'Build Python SDK'
2929
- bash: |
30-
python -m venv .venv
31-
.venv/Scripts/Activate
3230
pip install pip-audit
33-
# Only audit dependencies of SDK
34-
pip install --no-dev .
35-
pip-audit
31+
pip-audit -r requirements.txt
3632
displayName: 'Run vulnerability scan'

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Required dependencies for Python SDK

0 commit comments

Comments
 (0)