Skip to content

Commit

Permalink
chore: pin versions of dependencies for compatibility with Python 3.6 (
Browse files Browse the repository at this point in the history
…#1588) (#242)

* chore: pin versions of dependencies for compatibility with Python 3.6

* fix path of requirements file in synthtool
Source-Link: googleapis/synthtool@69cdb47
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5
  • Loading branch information
gcf-owl-bot[bot] authored Sep 26, 2022
1 parent b3dbce3 commit 1881278
Show file tree
Hide file tree
Showing 6 changed files with 488 additions and 4 deletions.
2 changes: 1 addition & 1 deletion java-tpu/.github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5
2 changes: 1 addition & 1 deletion java-tpu/.kokoro/release/publish_javadoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
pushd $(dirname "$0")/../../

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

# compile all packages
mvn clean install -B -q -DskipTests=true
Expand Down
2 changes: 1 addition & 1 deletion java-tpu/.kokoro/release/publish_javadoc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
pushd $(dirname "$0")/../../

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

# compile all packages
mvn clean install -B -q -DskipTests=true
Expand Down
3 changes: 2 additions & 1 deletion java-tpu/.kokoro/release/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
set -eo pipefail

# Start the releasetool reporter
python3 -m pip install gcp-releasetool
requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt)
python3 -m pip install --require-hashes -r $requirementsFile
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

source $(dirname "$0")/common.sh
Expand Down
31 changes: 31 additions & 0 deletions java-tpu/.kokoro/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
gcp-docuploader==0.6.3
google-crc32c==1.3.0
googleapis-common-protos==1.56.3
gcp-releasetool==1.8.7
cachetools==4.2.4
cffi==1.15.1
jeepney==0.7.1
jinja2==3.0.3
markupsafe==2.0.1
keyring==23.4.1
packaging==21.3
protobuf==3.19.5
pyjwt==2.4.0
pyparsing==3.0.9
pycparser==2.21
pyperclip==1.8.2
python-dateutil==2.8.2
requests==2.27.1
importlib-metadata==4.8.3
zipp==3.6.0
google_api_core==2.8.2
google-cloud-storage==2.0.0
google-cloud-core==2.3.1
typing-extensions==4.1.1
urllib3==1.26.12
zipp==3.6.0
rsa==4.9
six==1.16.0
attrs==22.1.0
google-auth==2.11.0
idna==3.4
Loading

0 comments on commit 1881278

Please sign in to comment.