Skip to content

Commit 89f5719

Browse files
authored
Add Hashed requirement for python dependencies (#5866)
2 parents 156f6d6 + d2155e0 commit 89f5719

18 files changed

Lines changed: 4008 additions & 163 deletions

File tree

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ skip = .git,*.pdf,*.svg,*.min.js,*.js.map,js,requirements.txt
44
# docs/videos/healthcare-and-life-sciences/lysozyme-example/submit.sh has CONECT - might be "legit"
55
ignore-regex = HETATM -e CONECT|\([A-Z]\)[a-z]+
66
#
7-
ignore-words-list = namd,tempdate,te,ue,startd,passtime
7+
ignore-words-list = namd,tempdate,te,ue,startd,passtime,astroid
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
google-api-python-client==2.196.0
2+
google-cloud-secret-manager==2.28.0
3+
google-cloud-pubsub==2.38.0
4+
pyyaml==6.0.3
5+
httplib2==0.31.2

community/front-end/ofe/infrastructure_files/gcs_bucket/webserver/requirements.txt

Lines changed: 549 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ install_sqlite
109109

110110
python3.12 -m ensurepip --upgrade
111111

112-
pip3.12 install google-api-python-client \
113-
google-cloud-secret-manager \
114-
google.cloud.pubsub \
115-
pyyaml httplib2
112+
pip3.12 install --require-hashes -r "$(dirname "$0")/requirements.txt"
116113

117114
# Set Python3.12 as default Python3
118115
echo '2' | update-alternatives --config python3
@@ -227,7 +224,7 @@ sudo su - gcluster -c /bin/bash <<EOF
227224
printf "\nUpgrading pip...\n"
228225
pip install --upgrade pip
229226
printf "\nInstalling pip requirements...\n"
230-
pip install -r /opt/gcluster/cluster-toolkit/community/front-end/ofe/requirements.txt
227+
pip install --require-hashes -r /opt/gcluster/cluster-toolkit/community/front-end/ofe/requirements.txt
231228
232229
printf "Generating configuration file for backend..."
233230
echo "config:" > configuration.yaml
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
altgraph==0.17.5
2+
archspec==0.2.6
3+
argcomplete==3.6.3
4+
asgiref==3.11.1
5+
astroid>=4.0.2,<4.2.0
6+
attrs==26.1.0
7+
# This should be supported by zoneinfo in Python 3.9+
8+
backports.zoneinfo==0.2.1;python_version<"3.9"
9+
cachetools>=7.1.4,<8.0
10+
certifi==2026.6.17
11+
cffi==2.0.0
12+
cfgv==3.5.0
13+
charset-normalizer==3.4.7
14+
click==8.4.2
15+
crispy-bootstrap5==2026.3
16+
cryptography==49.0.0
17+
decorator==5.3.1
18+
defusedxml==0.7.1
19+
dill==0.4.1
20+
distlib==0.4.3
21+
django-revproxy==0.13.0
22+
#git+https://github.com/jazzband/django-revproxy.git@d2234005135dc0771b7c4e0bb0465664ccfa5787
23+
Django==6.0.6
24+
django-allauth==65.18.0
25+
django-crispy-forms==2.6
26+
django-extensions==3.2.3
27+
djangorestframework==3.17.1
28+
filelock==3.29.4
29+
google-api-core==2.31.0
30+
google-api-python-client==2.198.0
31+
google-auth==2.55.1
32+
google-auth-httplib2==0.4.0
33+
google-cloud-artifact-registry==1.22.0
34+
google-cloud-secret-manager==2.29.0
35+
google-cloud-build==3.38.0
36+
google-cloud-billing==1.20.0
37+
google-cloud-core==2.6.0
38+
google-cloud-pubsub==2.39.0
39+
google-cloud-compute==1.49.0
40+
google-cloud-storage==3.12.0
41+
google-crc32c==1.8.0
42+
google-resumable-media==2.10.0
43+
googleapis-common-protos==1.75.0
44+
grafana-api==1.0.3
45+
grpc-google-iam-v1==0.14.4
46+
grpcio==1.81.1
47+
grpcio-status==1.81.1
48+
h11==0.16.0
49+
httplib2==0.32.0
50+
identify==2.6.19
51+
idna==3.18
52+
importlib-resources==7.1.0
53+
isort==7.0.0
54+
Jinja2==3.1.6
55+
jsonschema==4.26.0
56+
jsonschema-specifications==2025.9.1
57+
lazy-object-proxy==1.12.0
58+
libcst==1.8.6
59+
macholib==1.16.4
60+
MarkupSafe==3.0.3
61+
mccabe==0.7.0
62+
mypy-extensions==1.1.0
63+
nodeenv==1.10.0
64+
oauthlib==3.3.1
65+
path==17.1.1
66+
pkgutil_resolve_name==1.3.10
67+
platformdirs==4.10.0
68+
pre-commit==4.6.0
69+
proto-plus==1.28.0
70+
protobuf>=7.35.1,<8.0.0
71+
pyasn1==0.6.3
72+
pyasn1-modules==0.4.2
73+
pycparser==3.0
74+
PyJWT==2.13.0
75+
pylint==4.0.6
76+
pylint-django==2.7.0
77+
pylint-plugin-utils==0.9.0
78+
pyparsing==3.3.2
79+
python3-openid==3.2.0
80+
pytz==2026.2
81+
PyYAML==6.0.3
82+
referencing==0.37.0
83+
requests==2.34.2
84+
requests-oauthlib==2.0.0
85+
retry==0.9.2
86+
rpds-py==2026.6.3
87+
rsa==4.9.1
88+
ruamel.yaml==0.19.1
89+
ruamel.yaml.clib==0.2.15
90+
semantic-version==2.10.0
91+
setuptools-rust==1.13.0
92+
six==1.17.0
93+
sqlparse==0.5.5
94+
toml==0.10.2
95+
tomli==2.4.1
96+
tomlkit==0.15.0
97+
typing-inspect==0.9.0
98+
typing_extensions==4.15.0
99+
uritemplate==4.2.0
100+
urllib3==2.7.0
101+
uvicorn==0.49.0
102+
virtualenv==21.5.1
103+
wrapt==2.2.2
104+
xmltodict==1.0.4
105+
yq==3.4.3
106+
zipp==4.1.0

0 commit comments

Comments
 (0)