Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
f0c866d
chore: use gapic-generator-python 1.0.0 (#98)
gcf-owl-bot[bot] May 30, 2022
5f58f57
fix(deps): require protobuf <4.0.0dev (#99)
parthea Jun 2, 2022
d13fd2d
docs: fix changelog header to consistent size (#100)
dandhlee Jun 3, 2022
dd6ea4c
chore: test minimum dependencies in python 3.7 (#103)
parthea Jun 3, 2022
308b8d6
chore(main): release 1.2.1 (#101)
release-please[bot] Jun 7, 2022
42ee72e
chore: add prerelease nox session (#107)
gcf-owl-bot[bot] Jun 12, 2022
7578027
chore(python): add missing import for prerelease testing (#108)
gcf-owl-bot[bot] Jun 13, 2022
5d60fe9
fix: require python 3.7+ (#111)
gcf-owl-bot[bot] Jul 10, 2022
4d9a67f
chore(python): allow client documentation to be customized in README …
gcf-owl-bot[bot] Jul 14, 2022
580906e
fix(deps): require google-api-core>=1.32.0,>=2.8.0 (#109)
gcf-owl-bot[bot] Jul 14, 2022
f2a2492
chore(main): release 1.3.0 (#112)
release-please[bot] Jul 18, 2022
ce7a106
chore: resolve issue with prerelease presubmit [autoapprove] (#115)
gcf-owl-bot[bot] Jul 26, 2022
f9a8c1c
chore(bazel): update protobuf to v3.21.3 (#116)
gcf-owl-bot[bot] Jul 26, 2022
a06384f
chore(deps): update actions/setup-python action to v4 [autoapprove] (…
gcf-owl-bot[bot] Aug 9, 2022
8afd6d3
fix(deps): allow protobuf < 5.0.0 (#118)
parthea Aug 11, 2022
9a19680
chore(main): release 1.3.1 (#119)
release-please[bot] Aug 16, 2022
b9da07e
chore: remove 'pip install' statements from python_library templates …
gcf-owl-bot[bot] Aug 24, 2022
848330f
chore(python): exclude path in renovate.json [autoapprove] (#124)
gcf-owl-bot[bot] Aug 24, 2022
12a7007
chore(python): exclude grpcio==1.49.0rc1 in tests [autoapprove] (#125)
gcf-owl-bot[bot] Aug 29, 2022
b0ba85f
ci(python): fix path to requirements.txt in release script (#126)
gcf-owl-bot[bot] Sep 1, 2022
b197dd2
chore(python): update .kokoro/requirements.txt (#127)
gcf-owl-bot[bot] Sep 2, 2022
534434e
chore(python): exclude setup.py in renovate config (#129)
gcf-owl-bot[bot] Sep 2, 2022
8fc4613
chore: Bump gapic-generator-python version to 1.3.0 (#130)
gcf-owl-bot[bot] Sep 7, 2022
07f68b3
chore: use gapic-generator-python 1.3.1 (#131)
gcf-owl-bot[bot] Sep 8, 2022
e3de822
chore: use gapic generator python 1.4.1 (#132)
gcf-owl-bot[bot] Sep 13, 2022
03ab410
feat: Publish new JobRun resource and associated methods for Google C…
gcf-owl-bot[bot] Sep 27, 2022
61898d3
chore: Fix resource annotations for Cloud Deploy to use common resour…
gcf-owl-bot[bot] Sep 29, 2022
c271ac1
fix(deps): require protobuf >= 3.20.2 (#135)
gcf-owl-bot[bot] Sep 29, 2022
184297b
chore(main): release 1.4.0 (#134)
release-please[bot] Sep 29, 2022
045381a
fix(deps): allow protobuf 3.19.5 (#137)
parthea Oct 7, 2022
9d05a72
chore(main): release 1.4.1 (#138)
release-please[bot] Oct 10, 2022
f99cd5b
chore(python): update dependencies in .kokoro/requirements.txt [autoa…
gcf-owl-bot[bot] Nov 8, 2022
ada62c8
chore(python): update release script dependencies (#142)
gcf-owl-bot[bot] Nov 23, 2022
7e8512a
chore: Update gapic-generator-python to v1.6.1 (#139)
gcf-owl-bot[bot] Nov 23, 2022
2e193c3
fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#144)
gcf-owl-bot[bot] Dec 7, 2022
38ea9e8
build(deps): bump certifi from 2022.9.24 to 2022.12.7 [autoapprove] (…
gcf-owl-bot[bot] Dec 8, 2022
1069021
chore(main): release 1.5.0 (#143)
release-please[bot] Dec 15, 2022
471797d
chore(python): add support for python 3.11 [autoapprove] (#146)
gcf-owl-bot[bot] Jan 6, 2023
13de673
feat: Add support for python 3.11 (#147)
gcf-owl-bot[bot] Jan 10, 2023
2298657
chore(main): release 1.6.0 (#148)
release-please[bot] Jan 10, 2023
24facad
docs: Add documentation for enums (#149)
gcf-owl-bot[bot] Jan 20, 2023
53bef05
chore(main): release 1.6.1 (#150)
release-please[bot] Jan 23, 2023
2a38656
chore: Update gapic-generator-python to v1.8.2 (#151)
gcf-owl-bot[bot] Jan 25, 2023
d14bc84
chore: fix prerelease_deps nox session [autoapprove] (#152)
gcf-owl-bot[bot] Jan 30, 2023
6476d7a
chore: Update gapic-generator-python to v1.8.4 (#153)
gcf-owl-bot[bot] Feb 8, 2023
6a91556
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
gcf-owl-bot[bot] Feb 8, 2023
3d6d5fe
feat: enable "rest" transport in Python for services supporting numer…
gcf-owl-bot[bot] Feb 16, 2023
6daa092
chore(main): release 1.7.0 (#156)
release-please[bot] Feb 23, 2023
9f6f83b
chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#159)
gcf-owl-bot[bot] Feb 27, 2023
d09735a
chore: Update gapic-generator-python to v1.8.5 (#158)
gcf-owl-bot[bot] Feb 27, 2023
15dd96f
chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#160)
gcf-owl-bot[bot] Mar 16, 2023
f8f2a5e
docs: Fix formatting of request arg in docstring (#161)
gcf-owl-bot[bot] Mar 24, 2023
de38202
chore(main): release 1.8.0 (#162)
release-please[bot] Mar 27, 2023
3c6733e
feat: added support for DeployArtifacts (#163)
gcf-owl-bot[bot] May 4, 2023
907ac8b
build(deps): bump requests to 2.31.0 [autoapprove] (#165)
gcf-owl-bot[bot] May 25, 2023
27602a5
chore(main): release 1.9.0 (#164)
release-please[bot] May 31, 2023
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
6 changes: 1 addition & 5 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ branch = True
show_missing = True
omit =
google/cloud/deploy/__init__.py
google/cloud/deploy/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore pkg_resources exceptions.
# This is added at the module level as a safeguard for if someone
# generates the code and tries to run it without pip installing. This
# makes it virtually impossible to test properly.
except pkg_resources.DistributionNotFound
6 changes: 3 additions & 3 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:81ed5ecdfc7cac5b699ba4537376f3563f6f04122c4ec9e735d3b3dc1d43dd32
# created: 2022-05-05T22:08:23.383410683Z
digest: sha256:9bc5fa3b62b091f60614c08a7fb4fd1d3e1678e326f34dd66ce1eefb5dc3267b
# created: 2023-05-25T14:56:16.294623272Z
1 change: 1 addition & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.9"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
Expand All @@ -26,9 +26,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.9"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.8"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install nox
Expand All @@ -39,9 +39,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.8"
- name: Install coverage
run: |
python -m pip install --upgrade setuptools pip wheel
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"
}
12 changes: 6 additions & 6 deletions .kokoro/docker/docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /var/cache/apt/archives/*.deb

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

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

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

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

###################### Install pip
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-deploy/.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
10 changes: 10 additions & 0 deletions .kokoro/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
gcp-docuploader
gcp-releasetool>=1.10.5 # required for compatibility with cryptography>=39.x
importlib-metadata
typing-extensions
twine
wheel
setuptools
nox>=2022.11.21 # required to remove dependency on py
charset-normalizer<3
click<8.1.0
Loading