File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ functions:
297297 params :
298298 env :
299299 SKIP_MINIKUBE_SETUP : ${skip_minikube_setup!|false}
300- SKIP_INSTALL_REQUIREMENTS : ${skip_install_python_requirements!|true}
301300 working_dir : src/github.com/mongodb/mongodb-kubernetes
302301 add_to_path :
303302 - ${workdir}/bin
Original file line number Diff line number Diff line change @@ -118,14 +118,8 @@ PYENV_VERSION="${PYTHON_VERSION}" python -m venv venv
118118source venv/bin/activate
119119pip install --upgrade pip
120120
121- skip_requirements=" ${SKIP_INSTALL_REQUIREMENTS:- false} "
122- if [[ " ${skip_requirements} " != " true" ]]; then
123- echo " Installing requirements.txt..."
124- pip install -r requirements.txt
125- else
126- echo " Skipping requirements.txt installation."
127- pip install requests
128- fi
121+ echo " Installing requirements.txt..."
122+ pip install -r requirements.txt
129123
130124echo " Python venv was recreated successfully."
131125echo " Using Python: $( which python) ($( python --version) )" >&2
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ run_setup_step() {
4040
4141# Setup Python environment (needed for AWS CLI pip installation)
4242export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
43- export SKIP_INSTALL_REQUIREMENTS=${SKIP_INSTALL_REQUIREMENTS:- true}
4443run_setup_step " Python Virtual Environment" " scripts/dev/recreate_python_venv.sh"
4544
4645run_setup_step " AWS CLI Setup" " scripts/evergreen/setup_aws.sh"
You can’t perform that action at this time.
0 commit comments