Fix python audit issues.

This commit is contained in:
Aditya Toshniwal 2023-01-31 11:20:36 +05:30 committed by GitHub
parent d206b1c403
commit cdcc4e7314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -166,6 +166,7 @@ REM Main build sequence Ends
ECHO Installing dependencies...
CALL python -m pip install --upgrade pip || EXIT /B 1
CALL python -m pip install --upgrade setuptools || EXIT /B 1
CALL pip install --only-binary=cryptography -r "%WD%\requirements.txt" || EXIT /B 1
CD %WD%

View File

@ -57,6 +57,7 @@ _create_python_virtualenv() {
# Make sure we have the wheel package present, as well as the latest pip
pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install wheel
# Install the requirements

View File

@ -132,6 +132,7 @@ _build_docs() {
# shellcheck disable=SC1091
source "${BUILD_ROOT}/venv/bin/activate"
pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install -r "${SOURCE_DIR}/requirements.txt"
pip3 install sphinx
pip3 install sphinxcontrib-youtube