Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: merge main branch into v1 #438

Merged
merged 113 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
ff6ef1b
fix: strip trailing _ from field mask paths (#228)
busunkim96 Aug 3, 2021
a30f004
fix!: drop support for Python 2.7 / 3.5 (#212)
tseaver Aug 3, 2021
d566f28
chore: release 2.0.0b1 (#243)
release-please[bot] Aug 3, 2021
6789e67
chore: remove non-custom rules from sync-repo-settings (#241)
busunkim96 Aug 6, 2021
258ba4a
chore(python): avoid `.nox` directories when building docs (#249)
gcf-owl-bot[bot] Aug 12, 2021
ffa528e
chore: avoid duplicating pins of grpcio in noxfile (#246)
tseaver Aug 12, 2021
a54cc10
chore: drop mention of Python 2.7 from templates (#252)
gcf-owl-bot[bot] Aug 13, 2021
362ca6c
chore: update if_transient_error docs to match behaviour (#253)
parthea Aug 13, 2021
bdbf889
fix: bump grpcio version to use stable aio API (#234)
lidizheng Aug 13, 2021
bb3b26d
tests: silence a warning from 'charset_normalizer' (#247)
tseaver Aug 18, 2021
40f52bf
chore: release 2.0.0 (#254)
release-please[bot] Aug 18, 2021
e3d34d4
chore(python): disable dependency dashboard (#266)
gcf-owl-bot[bot] Aug 30, 2021
1db493c
chore: migrate default branch to main (#264)
tseaver Aug 30, 2021
82ca2fd
tests: close coverage gap for race condition (#261)
tseaver Aug 31, 2021
618f192
fix: do not error on LROs with no response or error (#258)
busunkim96 Aug 31, 2021
dcb6ebd
chore: release 2.0.1 (#267)
release-please[bot] Aug 31, 2021
01e31ca
chore(python): group renovate prs (#270)
gcf-owl-bot[bot] Sep 1, 2021
4679219
chore: remove obsolete dependency in setup.py (#269)
parthea Sep 1, 2021
8b65c93
chore: removing owlbot directives for conversion to main (#272)
nicain Sep 3, 2021
afe0fa1
feat: add grpc transcoding + tests (#259)
yihjenku Sep 15, 2021
1c5eb4d
feat: Add helper function to format query_params for rest transport. …
kbandes Sep 20, 2021
083e6e9
chore: relocate owl bot post processor (#280)
SurferJeffAtGoogle Sep 21, 2021
3b0912a
tests: add explicit unit tests for '_StreamedResponseIterator' class …
tseaver Sep 27, 2021
f3fd059
chore: add default_version and codeowner_team to .repo-metadata.json …
parthea Oct 4, 2021
577da9d
build: use trampoline_v2 for python samples and allow custom dockerfi…
gcf-owl-bot[bot] Oct 5, 2021
a422a5d
feat: add support for Python 3.10 (#284)
tseaver Oct 5, 2021
121debd
chore: release 2.1.0 (#274)
release-please[bot] Oct 5, 2021
e6a3489
chore(python): Add kokoro configs for python 3.10 samples testing (#285)
gcf-owl-bot[bot] Oct 8, 2021
0023ee1
fix: add mypy checking + 'py.typed' file (#290)
tseaver Oct 13, 2021
f4e776e
chore: release 2.1.1 (#291)
release-please[bot] Oct 13, 2021
09cf285
tests: add testing w/o 'grpc' installed (#289)
tseaver Oct 19, 2021
ef6f0fc
feat: add 'GoogleAPICallError.error_details' property (#286)
atulep Oct 19, 2021
5f4fb50
chore(python): push cloud library docs to staging bucket for Cloud RA…
gcf-owl-bot[bot] Oct 25, 2021
240edb6
chore: release 2.2.0 (#293)
release-please[bot] Oct 26, 2021
9e6091e
fix: revert "fix: do not error on LROs with no response or error" (#294)
busunkim96 Oct 26, 2021
d2a729e
chore: release 2.2.1 (#296)
release-please[bot] Oct 28, 2021
ffc51f0
fix: make 'gapic_v1.method.DEFAULT' a typed object (#292)
tseaver Nov 2, 2021
214d88b
chore: release 2.2.2 (#302)
release-please[bot] Nov 2, 2021
060b339
fix: handle bare 'grpc.Call' in 'from_grpc_error' (#298)
tseaver Nov 3, 2021
4b40789
chore(python): add .github/CODEOWNERS as a templated file (#308)
gcf-owl-bot[bot] Nov 11, 2021
bc0abe4
ci: tweak mypy to check 'google.protobuf' (#310)
tseaver Nov 18, 2021
ce1adf3
feat: add operations rest client to support long-running operations. …
kbandes Nov 25, 2021
cb091f8
chore: release 2.3.0 (#314)
release-please[bot] Dec 7, 2021
479d6a7
ci: run lint / mypy / unit tests / coverage as GH actions (#287)
tseaver Dec 8, 2021
cc46aa6
feat: add support for 'error_info' (#315)
atulep Dec 9, 2021
34ebdcc
fix: exclude function target from retry deadline exceeded exception m…
sushicw Dec 15, 2021
6538e03
chore: use python-samples-reviewers (#328)
gcf-owl-bot[bot] Jan 6, 2022
69a99d8
chore: update release_level in repo-metadata.json (#326)
parthea Jan 7, 2022
f9f2696
feat: iterator for processing JSON responses in REST streaming. (#317)
atulep Jan 10, 2022
beb3e63
chore: release 2.4.0 (#316)
release-please[bot] Jan 11, 2022
adbe638
build: switch to release-please for tagging (#331)
gcf-owl-bot[bot] Jan 13, 2022
f267111
docs: fix typo in library name (#332)
anguillanneuf Jan 14, 2022
8169f2b
chore(python): update release.sh to use keystore (#333)
gcf-owl-bot[bot] Jan 14, 2022
74d5ce8
chore: move docs check from kokoro to GH actions (#334)
parthea Jan 17, 2022
5e5ad37
feat: add api_key to client options (#248)
arithmetic1728 Jan 19, 2022
95e41ff
ci(python): run lint / unit tests / docs as GH actions (#336)
gcf-owl-bot[bot] Jan 22, 2022
c782f29
fix(deps): remove setuptools from dependencies (#339)
busunkim96 Feb 2, 2022
4422cce
chore(main): release 2.5.0 (#335)
release-please[bot] Feb 2, 2022
b558e3d
chore(deps): update actions/setup-python action to v3 (#346)
gcf-owl-bot[bot] Mar 1, 2022
6f61491
chore(deps): update all dependencies to v3 (#347)
renovate-bot Mar 2, 2022
021bb7d
feat: initial support for Extended Operations (#344)
software-dov Mar 2, 2022
a226a7c
chore(deps): update actions/checkout action to v3 (#349)
gcf-owl-bot[bot] Mar 3, 2022
04a8b8b
chore(main): release 2.6.0 (#350)
release-please[bot] Mar 3, 2022
7e21e9e
fix: Remove py2 tag from wheel (#343)
hugovk Mar 5, 2022
07747ca
chore(main): release 2.6.1 (#352)
release-please[bot] Mar 7, 2022
9abc6f4
feat: expose extra fields in ExtendedOperation (#351)
software-dov Mar 8, 2022
ea41551
chore(main): release 2.7.0 (#353)
release-please[bot] Mar 8, 2022
0680fb4
fix: add more context to error message. (#340)
atulep Mar 9, 2022
c89f55d
chore(main): release 2.7.1 (#354)
release-please[bot] Mar 9, 2022
112049e
fix: allow grpc without grpcio-status (#355)
parthea Mar 15, 2022
778d27d
chore(python): use black==22.3.0 (#362)
gcf-owl-bot[bot] Mar 30, 2022
7186e36
chore(python): update .pre-commit-config.yaml to use black==22.3.0 (#…
gcf-owl-bot[bot] Apr 1, 2022
45b0b52
chore(python): Enable size-label bot (#364)
gcf-owl-bot[bot] Apr 1, 2022
caba5f2
chore(python): add license header to auto-label.yaml (#365)
gcf-owl-bot[bot] Apr 6, 2022
523dbd0
fix: remove dependency on pkg_resources (#361)
parthea Apr 13, 2022
319c026
chore(main): release 2.7.2 (#358)
release-please[bot] Apr 13, 2022
12f7667
chore(deps): update all dependencies (#367)
renovate-bot Apr 21, 2022
4497873
chore(python): use ubuntu 22.04 in docs image (#368)
gcf-owl-bot[bot] Apr 21, 2022
022add1
fix: Avoid AttributeError if grpcio-status is not installed (#370)
ddoskind Apr 26, 2022
64802e1
test: use `not` instead of `is False` in assert (#366)
parthea Apr 26, 2022
1ce2e54
test: fix KeyError in test_rest_streaming.py (#373)
parthea Apr 29, 2022
52366f2
chore(main): release 2.7.3 (#371)
release-please[bot] May 2, 2022
364776c
chore: [autoapprove] update readme_gen.py to include autoescape True …
gcf-owl-bot[bot] May 5, 2022
cddc802
chore(python): auto approve template changes (#376)
gcf-owl-bot[bot] May 5, 2022
c97c498
feat: adds support for audience in client_options (#379)
atulep May 18, 2022
eed844f
chore(main): release 2.8.0 (#381)
release-please[bot] May 18, 2022
d84d66c
fix(deps): require protobuf>= 3.15.0, <4.0.0dev (#385)
parthea May 26, 2022
9be727d
chore(main): release 2.8.1 (#386)
release-please[bot] May 26, 2022
0c4668d
chore: allow releases from older version branches (#388)
parthea May 27, 2022
ac266e9
docs: fix changelog header to consistent size (#394)
dandhlee Jun 2, 2022
0eb727f
docs: Fix typo in the BackgroundConsumer docstring (#395)
Mariatta Jun 2, 2022
e92045b
chore: test minimum dependencies in python 3.7 (#397)
parthea Jun 3, 2022
5da6733
fix: drop support for grpc-gcp (#401)
parthea Jun 13, 2022
8f73d2e
fix(deps): allow protobuf < 5.0.0 (#400)
parthea Jun 13, 2022
5b5e775
chore(main): release 2.8.2 (#396)
release-please[bot] Jun 14, 2022
7ddb8c0
fix: require python 3.7+ (#410)
gcf-owl-bot[bot] Aug 10, 2022
cb0329a
chore(deps): update actions/setup-python action to v4 (#419)
renovate-bot Aug 10, 2022
7472e6d
doc: Update gcloud command for ADC (#406)
sai-sunder-s Aug 10, 2022
0dde0f9
chore: remove 'pip install' statements from python_library templates …
gcf-owl-bot[bot] Aug 24, 2022
d1026e7
chore(python): exclude path in renovate.json [autoapprove] (#425)
gcf-owl-bot[bot] Aug 24, 2022
7371d02
chore(python): update dependency distlib (#429)
gcf-owl-bot[bot] Aug 30, 2022
c3ad8ea
feat: Make grpc transcode logic work in terms of protobuf python obje…
vam-google Aug 30, 2022
29aa9ef
chore: fix path to requirements.txt in release script [autoapprove] (…
gcf-owl-bot[bot] Sep 1, 2022
8c19609
fix: restore support for grpcio-gcp (#418)
parthea Sep 1, 2022
922f468
chore(main): release 2.9.0 (#422)
release-please[bot] Sep 1, 2022
9066ed4
chore(python): update .kokoro/requirements.txt (#431)
gcf-owl-bot[bot] Sep 1, 2022
83678e9
feat: add 'strict' to flatten_query_params to lower-case bools (#433)
vchudnov-g Sep 2, 2022
cea67da
chore(main): release 2.10.0 (#434)
release-please[bot] Sep 2, 2022
fe617c2
chore(python): exclude setup.py in renovate config (#436)
gcf-owl-bot[bot] Sep 2, 2022
2f5772a
Merge remote-tracking branch 'origin/main' into merge-main
parthea Sep 6, 2022
cc79857
enable github actions checks
parthea Sep 6, 2022
ac301cf
remove constraints for python 3.8
parthea Sep 6, 2022
238e41b
ci: fix cover
parthea Sep 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest
digest: sha256:aea14a583128771ae8aefa364e1652f3c56070168ef31beb203534222d842b8b
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:993a058718e84a82fda04c3177e58f0a43281a996c7c395e0a56ccc4d6d210d7
2 changes: 1 addition & 1 deletion .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest

begin-after-commit-hash: 7af2cb8b2b725641ac0d07e2f256d453682802e6

9 changes: 5 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
#
# For syntax help see:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json.

# The @googleapis/yoshi-python is the default owner for changes in this repo
* @googleapis/yoshi-python @googleapis/actools-python
# @googleapis/yoshi-python @googleapis/actools-python are the default owners for changes in this repo
* @googleapis/yoshi-python @googleapis/actools-python

# The python-samples-reviewers team is the default owner for samples changes
/samples/ @googleapis/python-samples-owners
# @googleapis/python-samples-reviewers @googleapis/actools-python are the default owners for samples changes
/samples/ @googleapis/python-samples-reviewers @googleapis/actools-python
3 changes: 3 additions & 0 deletions .github/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve
processes:
- "OwlBotTemplateChanges"
15 changes: 15 additions & 0 deletions .github/auto-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
requestsize:
enabled: true
28 changes: 22 additions & 6 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
rebaseMergeAllowed: true
squashMergeAllowed: true
mergeCommitAllowed: false
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings
# Rules for main branch protection
branchProtectionRules:
- pattern: master
isAdminEnforced: true
requiredApprovingReviewCount: 1
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `main`
- pattern: main
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: true
requiredStatusCheckContexts:
- 'cla/google'
# No Kokoro: the following are Github actions
- 'lint'
- 'mypy'
- 'unit_grpc_gcp-3.7'
- 'unit_grpc_gcp-3.8'
- 'unit_grpc_gcp-3.9'
- 'unit_grpc_gcp-3.10'
- 'unit-3.7'
- 'unit-3.8'
- 'unit-3.9'
- 'unit-3.10'
- 'unit_wo_grpc-3.10'
- 'cover'
- 'docs'
- 'docfx'
permissionRules:
- team: actools-python
permission: admin
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
pull_request:
branches:
- v1
name: docs
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run docs
run: |
nox -s docs
docfx:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run docfx
run: |
nox -s docfx
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
pull_request:
branches:
- v1
name: lint
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run lint
run: |
nox -s lint
- name: Run lint_setup_py
run: |
nox -s lint_setup_py
22 changes: 22 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
pull_request:
branches:
- v1
name: mypy
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run mypy
run: |
nox -s mypy
73 changes: 73 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: "Unit tests"

on:
pull_request:
branches:
- v1

jobs:
run-unittests:
name: unit${{ matrix.option }}-${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
option: ["", "_grpc_gcp", "_wo_grpc"]
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
exclude:
- option: "_wo_grpc"
python: 3.7
- option: "_wo_grpc"
python: 3.8
- option: "_wo_grpc"
python: 3.9
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run unit tests
env:
COVERAGE_FILE: .coverage${{ matrix.option }}-${{matrix.python }}
run: |
nox -s unit${{ matrix.option }}-${{ matrix.python }}
- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
name: coverage-artifacts
path: .coverage${{ matrix.option }}-${{ matrix.python }}

report-coverage:
name: cover
runs-on: ubuntu-latest
needs:
- run-unittests
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install coverage
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install coverage
- name: Download coverage results
uses: actions/download-artifact@v3
with:
name: coverage-artifacts
path: .coverage-results/
- name: Report coverage results
run: |
coverage combine .coverage-results/.coverage*
coverage report --show-missing --fail-under=100
2 changes: 1 addition & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ python3 -m pip install --upgrade --quiet nox
python3 -m nox --version

# If this is a continuous build, send the test log to the FlakyBot.
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then
cleanup() {
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
Expand Down
7 changes: 7 additions & 0 deletions .kokoro/continuous/prerelease-deps.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Only run this nox session.
env_vars: {
key: "NOX_SESSION"
value: "prerelease_deps"
}
20 changes: 18 additions & 2 deletions .kokoro/docker/docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from ubuntu:20.04
from ubuntu:22.04

ENV DEBIAN_FRONTEND noninteractive

Expand Down Expand Up @@ -60,8 +60,24 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /var/cache/apt/archives/*.deb

###################### Install python 3.8.11

# Download python 3.8.11
RUN wget https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tgz

# Extract files
RUN tar -xvf Python-3.8.11.tgz

# Install python 3.8.11
RUN ./Python-3.8.11/configure --enable-optimizations
RUN make altinstall

###################### Install pip
RUN wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
&& python3.8 /tmp/get-pip.py \
&& python3 /tmp/get-pip.py \
&& rm /tmp/get-pip.py

# Test pip
RUN python3 -m pip

CMD ["python3.8"]
4 changes: 3 additions & 1 deletion .kokoro/docs/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ env_vars: {

env_vars: {
key: "V2_STAGING_BUCKET"
value: "docs-staging-v2"
# Push non-cloud library docs to `docs-staging-v2-staging` instead of the
# Cloud RAD bucket `docs-staging-v2`
value: "docs-staging-v2-staging"
}

# It will upload the docker image after successful builds.
Expand Down
7 changes: 7 additions & 0 deletions .kokoro/presubmit/prerelease-deps.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Only run this nox session.
env_vars: {
key: "NOX_SESSION"
value: "prerelease_deps"
}
4 changes: 1 addition & 3 deletions .kokoro/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ export PYTHONUNBUFFERED=1
export PATH="${HOME}/.local/bin:${PATH}"

# Install nox
python3 -m pip install --user --upgrade --quiet nox
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
python3 -m nox --version

# build docs
nox -s docs

python3 -m pip install --user gcp-docuploader

# create metadata
python3 -m docuploader create-metadata \
--name=$(jq --raw-output '.name // empty' .repo-metadata.json) \
Expand Down
5 changes: 1 addition & 4 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
set -eo pipefail

# Start the releasetool reporter
python3 -m pip install gcp-releasetool
python3 -m pip install --require-hashes -r github/python-api-core/.kokoro/requirements.txt
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

# Ensure that we have the latest versions of Twine, Wheel, and Setuptools.
python3 -m pip install --upgrade twine wheel setuptools

# Disable buffering, so that the logs stream through.
export PYTHONUNBUFFERED=1

Expand Down
8 changes: 8 additions & 0 deletions .kokoro/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
gcp-docuploader
gcp-releasetool
importlib-metadata
typing-extensions
twine
wheel
setuptools
nox
Loading