Skip to content

Commit c570a2c

Browse files
committed
always install requirements
1 parent bc55698 commit c570a2c

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

.evergreen-functions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

scripts/dev/recreate_python_venv.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,8 @@ PYENV_VERSION="${PYTHON_VERSION}" python -m venv venv
118118
source venv/bin/activate
119119
pip 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

130124
echo "Python venv was recreated successfully."
131125
echo "Using Python: $(which python) ($(python --version))" >&2

scripts/evergreen/setup_minikube_host.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ run_setup_step() {
4040

4141
# Setup Python environment (needed for AWS CLI pip installation)
4242
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
43-
export SKIP_INSTALL_REQUIREMENTS=${SKIP_INSTALL_REQUIREMENTS:-true}
4443
run_setup_step "Python Virtual Environment" "scripts/dev/recreate_python_venv.sh"
4544

4645
run_setup_step "AWS CLI Setup" "scripts/evergreen/setup_aws.sh"

0 commit comments

Comments
 (0)