Skip to content

Commit 8b267b6

Browse files
authored
Remove pip upgrade and use pinned requirements (#5975)
2 parents 8f30edb + 7e084f2 commit 8b267b6

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip==26.1.2
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --generate-hashes community/front-end/ofe/infrastructure_files/gcs_bucket/webserver/django_requirements.in
6+
#
7+
8+
# The following packages are considered to be unsafe in a requirements file:
9+
pip==26.1.2 \
10+
--hash=sha256:382ff9f685ee3bc25864f820aa50505825f10f5458ffff07e30a6d96e5715cab \
11+
--hash=sha256:f49cd134c61cf2fd75e0ce2676db03e4054504a5a4986d00f8299ae632dc4605
12+
# via -r community/front-end/ofe/infrastructure_files/gcs_bucket/webserver/django_requirements.in

community/front-end/ofe/infrastructure_files/gcs_bucket/webserver/startup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ sudo su - gcluster -c /bin/bash <<EOF
221221
printf "\nEstablishing django environment..."
222222
python3.12 -m venv /opt/gcluster/django-env
223223
source /opt/gcluster/django-env/bin/activate
224-
printf "\nUpgrading pip...\n"
225-
pip install --upgrade pip
224+
printf "\nInstalling pip...\n"
225+
pip install --require-hashes -r /opt/gcluster/cluster-toolkit/community/front-end/ofe/infrastructure_files/gcs_bucket/webserver/django_requirements.txt
226226
printf "\nInstalling pip requirements...\n"
227227
pip install --require-hashes -r /opt/gcluster/cluster-toolkit/community/front-end/ofe/requirements.txt
228228

0 commit comments

Comments
 (0)