File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,12 @@ jobs:
2626 displayName: 'Check python version'
2727 - bash : |
2828 python -m pip install -U pip
29- pip install twine wheel pip-audit
29+ pip install twine wheel
3030 python setup.py sdist bdist_wheel
3131 displayName: 'Build Python SDK for $(PYTHON_VERSION)'
3232 - bash : |
33- pip uninstall setuptools # This is not packaged with the SDK
33+ python -m venv .venv
34+ .venv/Scripts/Activate.ps1
35+ pip install pip-audit .
3436 pip-audit
3537 displayName: 'Run vulnerability scan'
Original file line number Diff line number Diff line change 2727 python setup.py sdist bdist_wheel
2828 displayName: 'Build Python SDK'
2929 - bash : |
30+ python -m venv .venv
31+ .venv/Scripts/Activate
32+ pip install pip-audit .
3033 pip-audit
3134 displayName: 'Run vulnerability scan'
You can’t perform that action at this time.
0 commit comments