Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 9038ebb

Browse files
authored
chore: install dependencies using requirements.txt file (#1833)
1 parent 52bf063 commit 9038ebb

File tree

6 files changed

+487
-3
lines changed

6 files changed

+487
-3
lines changed

.kokoro/release/publish_javadoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fi
2828
pushd $(dirname "$0")/../../
2929

3030
# install docuploader package
31-
python3 -m pip install gcp-docuploader
31+
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
3232

3333
NAME=gax
3434
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)

.kokoro/release/publish_javadoc11.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fi
2828
pushd $(dirname "$0")/../../
2929

3030
# install docuploader package
31-
python3 -m pip install gcp-docuploader
31+
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
3232

3333
NAME=gax
3434
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)

.kokoro/release/stage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ set -eo pipefail
1818
if [[ -n "${AUTORELEASE_PR}" ]]
1919
then
2020
# Start the releasetool reporter
21-
python3 -m pip install gcp-releasetool
21+
requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt)
22+
python3 -m pip install --require-hashes -r $requirementsFile
2223
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
2324
fi
2425

.kokoro/requirements.in

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
gcp-docuploader==0.6.3
2+
google-crc32c==1.3.0
3+
googleapis-common-protos==1.56.3
4+
gcp-releasetool==1.8.7
5+
cachetools==4.2.4
6+
cffi==1.15.1
7+
jeepney==0.7.1
8+
jinja2==3.0.3
9+
markupsafe==2.0.1
10+
keyring==23.4.1
11+
packaging==21.3
12+
protobuf==3.19.5
13+
pyjwt==2.4.0
14+
pyparsing==3.0.9
15+
pycparser==2.21
16+
pyperclip==1.8.2
17+
python-dateutil==2.8.2
18+
requests==2.27.1
19+
importlib-metadata==4.8.3
20+
zipp==3.6.0
21+
google_api_core==2.8.2
22+
google-cloud-storage==2.0.0
23+
google-cloud-core==2.3.1
24+
typing-extensions==4.1.1
25+
urllib3==1.26.12
26+
zipp==3.6.0
27+
rsa==4.9
28+
six==1.16.0
29+
attrs==22.1.0
30+
google-auth==2.11.0
31+
idna==3.4

0 commit comments

Comments
 (0)