Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
520 commits
Select commit Hold shift + click to select a range
e7803a9
Remove classifier for Python 3.4 for end-of-life. (#7535)
crwilcox Mar 20, 2019
0ed2b56
Refactor 'client_info' support. (#7849)
tseaver May 7, 2019
0ff6076
Update dep on 'api_core' >= 1.11.0. (#7986)
tseaver May 15, 2019
7d23138
Release core-1.0.0 (#7990)
tseaver May 15, 2019
93d345a
Core: Classify 503 Service Unavailable errors as transient. (#8182)
tseaver May 28, 2019
4be8b1f
Release google-cloud-core 1.0.1 (#8184)
tseaver May 28, 2019
cd82867
Prevent requests from hanging on SSL handshake issue by adding a max …
crwilcox Jun 5, 2019
23b490c
Release 1.0.2 (#8289)
crwilcox Jun 12, 2019
fc10d08
All: Add docs job to publish to googleapis.dev. (#8464)
busunkim96 Jun 25, 2019
baca05f
Add nox session 'docs' to remaining manual clients. (#8478)
busunkim96 Jun 27, 2019
6efbaec
Fixes #8545 by removing typing information for kwargs to not conflict…
crwilcox Jul 1, 2019
0299e6f
Add compatibility check badges to READMEs. (#8288)
ylil93 Jul 15, 2019
7706494
Bump minimum version for google-api-core to 1.14.0. (#8709)
tseaver Jul 19, 2019
d60cb83
Link to googleapis.dev documentation in READMEs. (#8705)
busunkim96 Jul 19, 2019
f69ad9a
Linkify the PR in the change log. (#8790)
aaltay Jul 26, 2019
f899b62
Change build_api_url to an instance method. (#8747)
busunkim96 Jul 26, 2019
acdbd70
Release core 1.0.3 (#8800)
busunkim96 Jul 29, 2019
736bd88
Update intersphinx mapping for requests. (#8805)
busunkim96 Jul 29, 2019
f9cc311
Remove compatability badges from READMEs. (#9035)
busunkim96 Aug 16, 2019
3a1210d
Docs: Remove CI for gh-pages, use googleapis.dev for api_core refs. (…
busunkim96 Aug 27, 2019
be4750a
docs(core): fix Google Auth Credentials help link now (#9260)
sukeesh Sep 24, 2019
edf668a
docs: fix intersphinx reference to requests (#9294)
busunkim96 Sep 25, 2019
0ad7604
docs: add python 2 sunset banner to documentation (#9036)
busunkim96 Nov 11, 2019
3b2a92f
feat(core): add timeout param to JSONConnection.api_request() (#9915)
plamut Dec 4, 2019
6e4c092
chore(core): release 1.1.0 (#9917)
plamut Dec 5, 2019
be3a0ae
chores(core): bump api-core dependency to 1.16.0 (#10111)
jkwlui Jan 14, 2020
da95231
chore(core): release core 1.2.0 (#10135)
jkwlui Jan 15, 2020
521c334
feat(core): change default api_request() timeout to non-None (#10219)
plamut Jan 29, 2020
5727af6
chore(core:) release core 1.3.0 (#10308)
crwilcox Jan 31, 2020
6a2c89f
chore: add split repo templates (#1)
busunkim96 Feb 12, 2020
b6f9c33
test: drop majyk per-lang-version coverage level (#6)
tseaver Feb 25, 2020
1da385d
chore: update templates (#9)
yoshi-automation May 28, 2020
d5cdf90
chore: update templates (#11)
yoshi-automation May 29, 2020
de13d82
chore(python): change autodoc_default_flags to autodoc_default_option…
yoshi-automation Jun 20, 2020
c61f956
chore: update Py2 support msg to reflect passage of time (#13)
yoshi-automation Jun 30, 2020
e50bc18
feat: add support for Python 3.8 (#17)
tseaver Aug 4, 2020
344aa4c
feat: add quota_project, credentials file, and scopes options (#15)
busunkim96 Aug 4, 2020
6153d2e
chore: release 1.4.0 (#18)
release-please[bot] Aug 4, 2020
d73623b
docs: update docs build (via synth) (#14)
yoshi-automation Aug 4, 2020
779d163
fix(deps): fix missing scopes attribute in client_options (#24)
s22chan Aug 6, 2020
368f849
chore: release 1.4.1 (#19)
release-please[bot] Aug 6, 2020
c6899e1
test: fix mock credentials to allow for quota projects (#29)
tswast Sep 16, 2020
40287e3
perf: use prettyPrint=false by default (#28)
tswast Sep 21, 2020
a2573d1
chore: release v1.4.2rc1 (#31)
tswast Sep 22, 2020
92eab01
chore: add default CODEOWNERS (#33)
busunkim96 Sep 22, 2020
6299d97
fix: handle query_params tuples in JSONConnection.build_api_url (#34)
tswast Sep 24, 2020
f622eb6
chore: release v1.4.2rc2 (#35)
tswast Sep 29, 2020
2878168
chore: release 1.4.2 (#30)
release-please[bot] Sep 29, 2020
1f0fc51
chore: release v1.4.2 (#37)
busunkim96 Oct 2, 2020
9a82717
fix: avoid using 'pkg_resources' to determine version (#40)
tseaver Oct 6, 2020
b779bdb
chore: add snippet-bot, secrets manager to CI (via synth) (#22)
yoshi-automation Oct 6, 2020
145e9d9
chore: release 1.4.3 (#42)
release-please[bot] Oct 6, 2020
13d404b
chore: start tracking obsolete files (#43)
yoshi-automation Oct 7, 2020
57527f0
deps: require `six>=1.12.0` and `google-api-core>=1.21.0` (#46)
tswast Nov 18, 2020
69949e2
build(python): samples tests should pass if no samples exist (#44)
yoshi-automation Nov 18, 2020
2100f8b
chore: update intersphinx mappings, code of conduct (via synth) (#48)
yoshi-automation Nov 30, 2020
b8ade7a
chore: release 1.4.4 (#47)
release-please[bot] Dec 2, 2020
d26f9c3
chore: add config / docs for 'pre-commit' support (#50)
yoshi-automation Dec 8, 2020
d09e5c0
chore(deps): update precommit hook pre-commit/pre-commit-hooks to v3.…
renovate-bot Dec 9, 2020
fd11ef2
feat: add support for Python 3.9, drop support for Python 3.5 (#55)
tseaver Dec 12, 2020
6f2f7da
chore: tweak 'python_requires' to match supported Python versions (#57)
tseaver Dec 14, 2020
9409cdb
chore: release 1.5.0 (#56)
release-please[bot] Dec 14, 2020
0bb8191
chore: update supported py versions in CONTRIBUTING and update precom…
yoshi-automation Dec 28, 2020
cbb5614
docs(python): document adding Python 3.9 support, dropping 3.5 suppor…
yoshi-automation Dec 29, 2020
7f64257
chore: add / update constraints files (#67)
busunkim96 Jan 13, 2021
c1a8ed3
chore: use 'http' URL in Apache license (#68)
yoshi-automation Jan 13, 2021
e051170
chore: tweak kokoro setup (via synth) (#71)
yoshi-automation Jan 15, 2021
1902a26
feat: infer project from explicit service account creds (#51)
tseaver Jan 19, 2021
0c9c83f
build(python): make `NOX_SESSION` optional (#72)
yoshi-automation Jan 20, 2021
05f7670
chore: Add header checker config to python library synth (#74)
yoshi-automation Jan 26, 2021
05b2d6b
build: migrate to flakybot (#76)
JustinBeckwith Jan 29, 2021
ea81da6
build: migrate to flakybot (#77)
yoshi-automation Jan 30, 2021
9789ea3
feat: add mtls support (#75)
arithmetic1728 Feb 2, 2021
5c75e03
chore: release 1.6.0 (#70)
release-please[bot] Feb 5, 2021
7ee6d8a
chore(python): include py.typed files in release (#79)
yoshi-automation Feb 8, 2021
7fad57f
docs: update python contributing guide (#80)
yoshi-automation Feb 9, 2021
0bcbe88
build(python): enable flakybot on library unit and system tests (#82)
yoshi-automation Feb 18, 2021
d2a3155
chore: add pre-commit-config to renovate ignore paths (#83)
yoshi-automation Mar 23, 2021
f4af4e2
chore: add templates (#84)
yoshi-automation Apr 1, 2021
9bf82fa
chore: Add license headers for python config files (#86)
yoshi-automation Apr 7, 2021
fea00ab
chore: add constraints file check for python samples (#87)
yoshi-automation Apr 11, 2021
69685d4
chore: prevent normalization of semver versioning (#89)
dandhlee Apr 16, 2021
a4f8958
[CHANGE ME] Re-generated to pick up changes from synthtool. (#88)
yoshi-automation Apr 16, 2021
ac20377
chore(revert): revert preventing normalization (#90)
dandhlee Apr 27, 2021
a840d1d
chore: update contributors doc (via synth) (#91)
yoshi-automation May 5, 2021
39fd676
chore: add SECURITY.md (#92)
google-cloud-policy-bot[bot] May 5, 2021
9557a6f
chore: add library type to .repo-metadata.json (#93)
parthea May 12, 2021
1bef962
chore: migrate to owl bot (#95)
parthea May 12, 2021
1c8eda3
chore: new owl bot post processor docker image (#96)
gcf-owl-bot[bot] May 16, 2021
e13d276
chore: new owl bot post processor docker image (#97)
gcf-owl-bot[bot] May 28, 2021
bbffd42
feat: add 'Client.from_service_account_info' factory (#54)
tseaver Jun 14, 2021
f7db69b
chore: add 'blacken' stanza to noxfile (#99)
tseaver Jun 14, 2021
0455431
feat: add 'Client.close' (#100)
tseaver Jun 14, 2021
28598b7
chore: release 1.7.0 (#101)
release-please[bot] Jun 14, 2021
2686bd9
chore: new owl bot post processor docker image (#104)
gcf-owl-bot[bot] Jun 17, 2021
6d87640
fix: pass kwargs through in 'from_service_account_json' (#109)
tseaver Jun 25, 2021
652c82e
chore: release 1.7.1 (#110)
release-please[bot] Jun 25, 2021
9637c04
Nitpick: Markdown header consitency (#112)
arekkusu Jun 26, 2021
a3aad61
tests: unb0rk tests broken by requests 2.26.0. (#118)
tseaver Jul 14, 2021
1e34e01
build(python): remove python 3.7 from kokoro Dockerfile (#116)
gcf-owl-bot[bot] Jul 14, 2021
47f0198
feat: add Samples section to CONTRIBUTING.rst (#119)
gcf-owl-bot[bot] Jul 22, 2021
21ac01a
chore: fix kokoro config for samples (#121)
gcf-owl-bot[bot] Jul 23, 2021
aebb1ef
chore: release 1.7.2 (#123)
release-please[bot] Jul 27, 2021
e86e97b
chore: use Python 3.8 for docs / docfx sessions (#125)
tseaver Jul 27, 2021
1f0d455
fix!: drop python 2.7 support (#103)
tseaver Aug 2, 2021
55a959d
chore: release 2.0.0b1 (#126)
release-please[bot] Aug 2, 2021
70aeff8
chore(python): avoid `.nox` directories when building docs (#130)
gcf-owl-bot[bot] Aug 12, 2021
2b03d57
tests: allow prerelease dependency versions under Python 3.9 (#129)
tseaver Aug 13, 2021
fdfb580
chore: drop mention of Python 2.7 from templates (#131)
gcf-owl-bot[bot] Aug 13, 2021
1be7220
tests: revert testing prerelease deps on Python 3.9 (#132)
tseaver Aug 18, 2021
a5b1745
chore: release 2.0.0 (#133)
release-please[bot] Aug 18, 2021
9cb331b
chore: migrate default branch to main (#136)
tseaver Aug 26, 2021
b17329b
chore(python): disable dependency dashboard (#137)
gcf-owl-bot[bot] Aug 30, 2021
a692cbe
chore(python): group renovate prs (#138)
gcf-owl-bot[bot] Sep 1, 2021
c6e71e8
chore(python): rename default branch to main (#139)
gcf-owl-bot[bot] Sep 2, 2021
8f74207
chore: relocate owl bot post processor (#141)
SurferJeffAtGoogle Sep 21, 2021
4e8e141
chore: scrub 'master' -> 'main' fossils from owlbot (#142)
tseaver Sep 27, 2021
8f9451a
chore: add default_version and codeowner_team to .repo-metadata.json …
parthea Oct 4, 2021
b23dd17
build: use trampoline_v2 for python samples and allow custom dockerfi…
gcf-owl-bot[bot] Oct 5, 2021
ae4131c
feat: add support for Python 3.10 (#145)
tseaver Oct 5, 2021
4f67841
chore: release 2.1.0 (#146)
release-please[bot] Oct 5, 2021
ee922e0
chore(python): Add kokoro configs for python 3.10 samples testing (#147)
gcf-owl-bot[bot] Oct 8, 2021
81edfcc
chore(python): push cloud library docs to staging bucket for Cloud RA…
gcf-owl-bot[bot] Oct 25, 2021
d7d568e
fix: add mypy checking + 'py.typed' files (#149)
tseaver Nov 9, 2021
cb164f4
chore: release 2.2.0 (#154)
release-please[bot] Nov 9, 2021
aa73cbd
fix: correct Client and Connection type annotations (#156)
tswast Nov 10, 2021
b28a904
chore: release 2.2.1 (#157)
release-please[bot] Nov 10, 2021
cba2fbd
chore(python): add .github/CODEOWNERS as a templated file (#158)
gcf-owl-bot[bot] Nov 11, 2021
955786c
test: add constraints for google-auth minimum version (#159)
tswast Nov 15, 2021
a83cadb
chore: update doc links from googleapis.dev to cloud.google.com (#160)
dandhlee Nov 16, 2021
6c39bb4
fix: correct param type of _ClientFactoryMixin.from_service_account_i…
yukihira1992 Nov 16, 2021
8a6e42e
ci: prototype running lint / mypy / unit tests / coverage as GH actio…
tseaver Dec 7, 2021
7e25802
chore: use python-samples-reviewers (#167)
gcf-owl-bot[bot] Jan 6, 2022
5f1478a
chore: update release_level in repo-metadata.json (#165)
parthea Jan 7, 2022
d1482b9
build: switch to release-please for tagging (#168)
gcf-owl-bot[bot] Jan 13, 2022
3356521
chore(python): update release.sh to use keystore (#170)
gcf-owl-bot[bot] Jan 14, 2022
bc1f9c0
chore: move docs check from kokoro to GH actions (#171)
parthea Jan 17, 2022
8935120
chore(main): release 2.2.2 (#169)
release-please[bot] Jan 18, 2022
ef9e786
ci(python): use templated workflows for GH actions (#172)
gcf-owl-bot[bot] Jan 20, 2022
56dec6a
chore(deps): update actions/setup-python action to v3 (#175)
gcf-owl-bot[bot] Mar 1, 2022
ce682b2
chore(deps): update actions/checkout action to v3 (#177)
gcf-owl-bot[bot] Mar 3, 2022
35d19dc
chore(deps): update actions/download-artifact action to v3 (#179)
gcf-owl-bot[bot] Mar 5, 2022
21838e4
fix(deps): require google-api-core>=1.31.5, >=2.3.2 (#178)
parthea Mar 7, 2022
4c8ddba
chore(main): release 2.2.3 (#180)
release-please[bot] Mar 7, 2022
710125a
chore(python): use black==22.3.0 (#181)
gcf-owl-bot[bot] Mar 30, 2022
bf910c3
chore(python): update .pre-commit-config.yaml to use black==22.3.0 (#…
gcf-owl-bot[bot] Apr 1, 2022
7c575c0
chore(python): Enable size-label bot (#184)
gcf-owl-bot[bot] Apr 1, 2022
ac48c65
feat: allow extra_api_info to be passed to api request (#183)
Apr 1, 2022
e62eb6a
chore: allow releases on previous major versions (#186)
parthea Apr 5, 2022
ba7dba0
chore(python): add license header to auto-label.yaml (#187)
gcf-owl-bot[bot] Apr 6, 2022
4bb8873
chore(main): release 2.3.0 (#185)
release-please[bot] Apr 11, 2022
33f9216
chore(deps): update all dependencies (#188)
renovate-bot Apr 21, 2022
c219b7a
chore(python): use ubuntu 22.04 in docs image (#190)
gcf-owl-bot[bot] Apr 21, 2022
a965b70
chore: [autoapprove] update readme_gen.py to include autoescape True …
gcf-owl-bot[bot] May 5, 2022
1e693c8
chore(python): auto approve template changes (#193)
gcf-owl-bot[bot] May 5, 2022
8e0f584
docs: fix changelog header to consistent size (#194)
dandhlee Jun 3, 2022
43a4d4a
chore(main): release 2.3.1 (#195)
release-please[bot] Jun 9, 2022
d92ae7b
fix: require python 3.7+ (#201)
gcf-owl-bot[bot] Jul 10, 2022
00b6740
chore(deps): update actions/setup-python action to v4 (#197)
renovate-bot Jul 15, 2022
628cecd
chore(main): release 2.3.2 (#202)
release-please[bot] Jul 18, 2022
a61b7b7
chore(deps): update actions/setup-python action to v4 [autoapprove] (…
gcf-owl-bot[bot] Aug 10, 2022
84d4fc0
chore: remove 'pip install' statements from python_library templates …
gcf-owl-bot[bot] Aug 24, 2022
9aa82d3
chore(python): exclude `grpcio==1.49.0rc1` in tests (#213)
gcf-owl-bot[bot] Aug 30, 2022
7d2602d
ci(python): fix path to requirements.txt in release script (#214)
gcf-owl-bot[bot] Sep 1, 2022
b110c6f
chore(python): update .kokoro/requirements.txt (#215)
gcf-owl-bot[bot] Sep 2, 2022
f4367fc
chore(python): exclude setup.py in renovate config (#217)
gcf-owl-bot[bot] Sep 2, 2022
60b491f
chore: update dependency protobuf >= 3.20.2 (#219)
gcf-owl-bot[bot] Sep 29, 2022
8dd886b
chore(python): update dependencies in .kokoro/requirements.txt (#220)
gcf-owl-bot[bot] Nov 19, 2022
f77c15a
chore(python): update release script dependencies (#223)
gcf-owl-bot[bot] Nov 28, 2022
6e1619c
build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/g…
gcf-owl-bot[bot] Dec 8, 2022
c4ae342
chore(python): add support for python 3.11 [autoapprove] (#225)
gcf-owl-bot[bot] Jan 6, 2023
10820fa
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
gcf-owl-bot[bot] Feb 8, 2023
3c8169a
chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#229)
gcf-owl-bot[bot] Feb 27, 2023
96093f2
chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#231)
gcf-owl-bot[bot] Mar 16, 2023
dba08b3
build(deps): bump requests from 2.28.1 to 2.31.0 in /synthtool/gcp/te…
gcf-owl-bot[bot] May 25, 2023
bdb2824
chore: update wording to use "allowlist" (#230)
meredithslota May 25, 2023
fd8bd4c
build(deps): bump cryptography from 39.0.1 to 41.0.0 in /synthtool/gc…
gcf-owl-bot[bot] Jun 3, 2023
79b7c7f
docs: update docs structure for c.g.c usage (#226)
dandhlee Jun 3, 2023
c789fce
chore: store artifacts in placer [autoapprove] (#237)
gcf-owl-bot[bot] Jun 29, 2023
743b725
chore(main): release 2.3.3 (#236)
release-please[bot] Jul 5, 2023
7dd882e
build(deps): [autoapprove] bump cryptography from 41.0.0 to 41.0.2 (#…
gcf-owl-bot[bot] Jul 17, 2023
6c8f141
build(deps): [autoapprove] bump pygments from 2.13.0 to 2.15.0 (#241)
gcf-owl-bot[bot] Jul 21, 2023
f67920a
build(deps): [autoapprove] bump certifi from 2022.12.7 to 2023.7.22 (…
gcf-owl-bot[bot] Jul 26, 2023
fdb4ae7
chore: [autoapprove] Pin flake8 version (#244)
gcf-owl-bot[bot] Aug 1, 2023
cfedb05
build: [autoapprove] bump cryptography from 41.0.2 to 41.0.3 (#246)
gcf-owl-bot[bot] Aug 3, 2023
382126f
chore: [autoapprove] bump cryptography from 41.0.3 to 41.0.4 (#249)
gcf-owl-bot[bot] Oct 4, 2023
f38e61d
chore: [autoapprove] Update `black` and `isort` to latest versions (#…
gcf-owl-bot[bot] Oct 10, 2023
a3bae9d
chore: rename rst files to avoid conflict with service names (#253)
gcf-owl-bot[bot] Oct 26, 2023
c315943
chore: update docfx minimum Python version (#254)
gcf-owl-bot[bot] Nov 3, 2023
0bbf916
chore: bump urllib3 from 1.26.12 to 1.26.18 (#255)
gcf-owl-bot[bot] Nov 9, 2023
1c6ea93
feat: Introduce compatibility with native namespace packages (#260)
parthea Dec 3, 2023
3efede7
feat: Add support for Python 3.12 (#256)
gcf-owl-bot[bot] Dec 3, 2023
eb791ec
chore: bump cryptography from 41.0.5 to 41.0.6 in /synthtool/gcp/temp…
gcf-owl-bot[bot] Dec 3, 2023
f4320f1
build: treat warnings as errors (#262)
parthea Dec 7, 2023
1c21dcb
chore(deps): update all dependencies (#264)
renovate-bot Dec 7, 2023
fc4f0c0
chore(main): release 2.4.0 (#261)
release-please[bot] Dec 7, 2023
13a52ee
fix: fix regression with `google.cloud._helpers._NOW` (#266)
parthea Dec 7, 2023
036029e
chore(main): release 2.4.1 (#267)
release-please[bot] Dec 7, 2023
b414525
build: update actions/checkout and actions/setup-python (#268)
gcf-owl-bot[bot] Dec 10, 2023
a759cab
build: update actions/upload-artifact and actions/download-artifact (…
gcf-owl-bot[bot] Jan 8, 2024
65f3c04
build(python): fix `docs` and `docfx` builds (#272)
gcf-owl-bot[bot] Jan 24, 2024
10535f2
build(deps): bump cryptography from 41.0.6 to 42.0.0 in /synthtool/gc…
gcf-owl-bot[bot] Feb 6, 2024
8b524a9
build(deps): bump cryptography from 42.0.0 to 42.0.2 in .kokoro (#275)
gcf-owl-bot[bot] Feb 21, 2024
6e4d79e
build(deps): bump cryptography from 42.0.2 to 42.0.4 in .kokoro (#276)
gcf-owl-bot[bot] Feb 29, 2024
f845b86
chore(python): update dependencies in /.kokoro (#279)
gcf-owl-bot[bot] Mar 18, 2024
7e0e241
chore(python): bump idna from 3.4 to 3.7 in .kokoro (#285)
gcf-owl-bot[bot] Apr 12, 2024
16d7242
chore: update templated files (#291)
gcf-owl-bot[bot] Jul 3, 2024
b3cb7da
chore(python): use python 3.10 for docs build (#294)
gcf-owl-bot[bot] Jul 9, 2024
a17ba11
chore(python): fix docs build (#295)
gcf-owl-bot[bot] Aug 16, 2024
8ae2414
chore(python): update unittest workflow template (#298)
gcf-owl-bot[bot] Sep 14, 2024
2e40ab0
build(python): release script update (#300)
gcf-owl-bot[bot] Sep 17, 2024
0d6c84c
chore(python): update dependencies in .kokoro/docker/docs (#309)
gcf-owl-bot[bot] Nov 15, 2024
d1e14be
chore(python): Update the python version in docs presubmit to use 3.1…
gcf-owl-bot[bot] Jan 8, 2025
00f52d9
chore(python): exclude .github/workflows/unittest.yml in renovate con…
gcf-owl-bot[bot] Jan 10, 2025
f68fd8d
chore(python): fix docs publish build (#316)
gcf-owl-bot[bot] Jan 28, 2025
cdfea0d
chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /.kokoro (#313)
dependabot[bot] Jan 30, 2025
2f7889a
chore(deps): bump virtualenv from 20.26.3 to 20.26.6 in /.kokoro (#315)
dependabot[bot] Jan 30, 2025
5e30aad
chore(deps): update all dependencies (#317)
renovate-bot Jan 30, 2025
b12540f
Feat: Client should pass client_options.api_key to auth library (#321)
andrewsg Feb 13, 2025
4a2598a
chore(deps): update all dependencies (#318)
renovate-bot Feb 20, 2025
2ad8adc
chore(main): release 2.4.2 (#323)
release-please[bot] Feb 20, 2025
9634ef7
chore(python): fix typo in README (#320)
gcf-owl-bot[bot] Feb 20, 2025
81675cb
chore: update readme for logging (#322)
gcf-owl-bot[bot] Feb 20, 2025
30e9d6b
chore(python): conditionally load credentials in .kokoro/build.sh (#325)
gcf-owl-bot[bot] Mar 2, 2025
68db541
fix: Declare support for Python 3.13 (#326)
hugovk Mar 2, 2025
0e05a27
chore: remove unused files (#328)
parthea Mar 10, 2025
a57cefb
chore(main): release 2.4.3 (#327)
release-please[bot] Mar 10, 2025
3eaed7e
fix: resolve issue where pre-release versions of dependencies are ins…
parthea Mar 10, 2025
2d915b7
fix: remove setup.cfg configuration for creating universal wheels (#332)
parthea Mar 20, 2025
a542fda
feat: Add Python 3.14 support (#333)
chalmerlowe Oct 27, 2025
2870aed
chore(main): release 2.5.0 (#330)
release-please[bot] Oct 29, 2025
acd285e
chore(librarian): onboard to librarian (#336)
ohmayr Nov 13, 2025
8bc612a
tests: update default python runtime for tests to 3.14 (#340)
parthea Jan 12, 2026
f5b7585
chore(deps): update all dependencies (#339)
renovate-bot Jan 12, 2026
aba96f9
chore: Migrate gsutil usage to gcloud storage (#342)
gurusai-voleti Feb 9, 2026
8f13b24
Merge remote-tracking branch 'remote.googleapis/python-cloud-core/mai…
parthea Feb 9, 2026
22b579d
Trigger owlbot post-processor
parthea Feb 9, 2026
4502d28
build: google-cloud-core migration: adjust owlbot-related files
parthea Feb 9, 2026
2be63be
tests: add pre-release and core_deps_from_source nox sessions
parthea Feb 12, 2026
31341a4
chore: remove unused files
parthea Feb 12, 2026
de9734a
chore: clean up
parthea Feb 12, 2026
fb082bb
chore: clean up
parthea Feb 12, 2026
652da69
chore: update librarian state.yaml
parthea Feb 12, 2026
f1c66fc
chore: revert changes to scripts
parthea Feb 12, 2026
e8cbb5e
tests: update constraints
parthea Feb 12, 2026
0c7e08d
tests: fix docs build
parthea Feb 12, 2026
2b18e3b
chore: use 3.14 for mypy
parthea Feb 12, 2026
a96eaa8
chore: fix build
parthea Feb 12, 2026
d42f580
tests: fix mypy
parthea Feb 12, 2026
4ee639b
chore: typo
parthea Feb 12, 2026
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
9 changes: 9 additions & 0 deletions .librarian/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,15 @@ libraries:
remove_regex:
- packages/google-cloud-contentwarehouse/
tag_format: '{id}-v{version}'
- id: google-cloud-core
version: 2.5.0
last_generated_commit: ""
apis: []
source_roots:
- packages/google-cloud-core
preserve_regex: []
remove_regex: []
tag_format: '{id}-v{version}'
- id: google-cloud-data-fusion
version: 1.15.0
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
Expand Down
19 changes: 19 additions & 0 deletions packages/google-cloud-core/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[run]
branch = True

[report]
omit =
/tmp/*
google/cloud/__init__.py
google/cloud/_testing/__init__.py
google/cloud/environment_vars/__init__.py
fail_under = 100
show_missing = True
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore abstract methods
raise NotImplementedError
raise NotImplementedError()
11 changes: 11 additions & 0 deletions packages/google-cloud-core/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
import-order-style=google
# Note: this forces all google imports to be in the third group. See
# https://github.com/PyCQA/flake8-import-order/issues/111
application-import-names=google
ignore = E203, E266, E501, W503, I202
exclude =
__pycache__,
.git,
*.pyc,
conf.py
13 changes: 13 additions & 0 deletions packages/google-cloud-core/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "google-cloud-core",
"name_pretty": "Google API client core library",
"client_documentation": "https://cloud.google.com/python/docs/reference/google-cloud-core/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"release_level": "stable",
"language": "python",
"library_type": "CORE",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-cloud-core",
"default_version": "",
"codeowner_team": ""
}
407 changes: 407 additions & 0 deletions packages/google-cloud-core/CHANGELOG.md

Large diffs are not rendered by default.

285 changes: 285 additions & 0 deletions packages/google-cloud-core/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,285 @@
.. Generated by synthtool. DO NOT EDIT!
############
Contributing
############

#. **Please sign one of the contributor license agreements below.**
#. Fork the repo, develop and test your code changes, add docs.
#. Make sure that your commit messages clearly describe the changes.
#. Send a pull request. (Please Read: `Faster Pull Request Reviews`_)

.. _Faster Pull Request Reviews: https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews

.. contents:: Here are some guidelines for hacking on the Google Cloud Client libraries.

***************
Adding Features
***************

In order to add a feature:

- The feature must be documented in both the API and narrative
documentation.

- The feature must work fully on the following CPython versions:
3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.

- The feature must not add unnecessary dependencies (where
"unnecessary" is of course subjective, but new dependencies should
be discussed).

****************************
Using a Development Checkout
****************************

You'll have to create a development environment using a Git checkout:

- While logged into your GitHub account, navigate to the
``google-cloud-python`` `repo`_ on GitHub.

- Fork and clone the ``google-cloud-python`` repository to your GitHub account by
clicking the "Fork" button.

- Clone your fork of ``google-cloud-python`` from your GitHub account to your local
computer, substituting your account username and specifying the destination
as ``hack-on-google-cloud-python``. E.g.::

$ cd ${HOME}
$ git clone [email protected]:USERNAME/google-cloud-python.git hack-on-google-cloud-python
$ cd hack-on-google-cloud-python
# Configure remotes such that you can pull changes from the googleapis/google-cloud-python
# repository into your local repository.
$ git remote add upstream [email protected]:googleapis/google-cloud-python.git
# fetch and merge changes from upstream into main
$ git fetch upstream
$ git merge upstream/main

Now your local repo is set up such that you will push changes to your GitHub
repo, from which you can submit a pull request.

To work on the codebase and run the tests, we recommend using ``nox``,
but you can also use a ``virtualenv`` of your own creation.

.. _repo: https://github.com/googleapis/google-cloud-python

Using ``nox``
=============

We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.

- To test your changes, run unit tests with ``nox``::
$ nox -s unit

- To run a single unit test::

$ nox -s unit-3.14 -- -k <name of test>


.. note::

The unit tests and system tests are described in the
``noxfile.py`` files in each directory.

.. nox: https://pypi.org/project/nox/

*****************************************
I'm getting weird errors... Can you help?
*****************************************

If the error mentions ``Python.h`` not being found,
install ``python-dev`` and try again.
On Debian/Ubuntu::

$ sudo apt-get install python-dev

************
Coding Style
************
- We use the automatic code formatter ``black``. You can run it using
the nox session ``blacken``. This will eliminate many lint errors. Run via::

$ nox -s blacken

- PEP8 compliance is required, with exceptions defined in the linter configuration.
If you have ``nox`` installed, you can test that you have not introduced
any non-compliant code via::

$ nox -s lint

- In order to make ``nox -s lint`` run faster, you can set some environment
variables::

export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
export GOOGLE_CLOUD_TESTING_BRANCH="main"

By doing this, you are specifying the location of the most up-to-date
version of ``google-cloud-python``. The
remote name ``upstream`` should point to the official ``googleapis``
checkout and the branch should be the default branch on that remote (``main``).

- This repository contains configuration for the
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking
our linters during a commit. If you have it installed on your ``$PATH``,
you can enable enforcing those checks via:

.. code-block:: bash

$ pre-commit install
pre-commit installed at .git/hooks/pre-commit

Exceptions to PEP8:

- Many unit tests use a helper method, ``_call_fut`` ("FUT" is short for
"Function-Under-Test"), which is PEP8-incompliant, but more readable.
Some also use a local variable, ``MUT`` (short for "Module-Under-Test").

********************
Running System Tests
********************

- To run system tests, you can execute::

# Run all system tests
$ nox -s system

# Run a single system test
$ nox -s system-3.8 -- -k <name of test>


.. note::

System tests are only configured to run under Python 3.8.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
auth settings and change some configuration in your project to
run all the tests.

- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.

*************
Test Coverage
*************

- The codebase *must* have 100% test statement coverage after each commit.
You can test coverage via ``nox -s cover``.

******************************************************
Documentation Coverage and Building HTML Documentation
******************************************************

If you fix a bug, and the bug requires an API or behavior modification, all
documentation in this package which references that API or behavior must be
changed to reflect the bug fix, ideally in the same commit that fixes the bug
or adds the feature.

Build the docs via:

$ nox -s docs

*************************
Samples and code snippets
*************************

Code samples and snippets live in the `samples/` catalogue. Feel free to
provide more examples, but make sure to write tests for those examples.
Each folder containing example code requires its own `noxfile.py` script
which automates testing. If you decide to create a new folder, you can
base it on the `samples/snippets` folder (providing `noxfile.py` and
the requirements files).

The tests will run against a real Google Cloud Project, so you should
configure them just like the System Tests.

- To run sample tests, you can execute::

# Run all tests in a folder
$ cd samples/snippets
$ nox -s py-3.8

# Run a single sample test
$ cd samples/snippets
$ nox -s py-3.8 -- -k <name of test>

********************************************
Note About ``README`` as it pertains to PyPI
********************************************

The `description on PyPI`_ for the project comes directly from the
``README``. Due to the reStructuredText (``rst``) parser used by
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
instead of
``https://github.com/googleapis/google-cloud-python/blob/main/CONTRIBUTING.rst``)
may cause problems creating links or rendering the description.

.. _description on PyPI: https://pypi.org/project/google-cloud-core


*************************
Supported Python Versions
*************************

We support:

- `Python 3.8`_
- `Python 3.9`_
- `Python 3.10`_
- `Python 3.11`_
- `Python 3.12`_
- `Python 3.13`_
- `Python 3.14`_

.. _Python 3.8: https://docs.python.org/3.8/
.. _Python 3.9: https://docs.python.org/3.9/
.. _Python 3.10: https://docs.python.org/3.10/
.. _Python 3.11: https://docs.python.org/3.11/
.. _Python 3.12: https://docs.python.org/3.12/
.. _Python 3.13: https://docs.python.org/3.13/
.. _Python 3.14: https://docs.python.org/3.14/


Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/google-cloud-python/blob/main/noxfile.py


We also explicitly decided to support Python 3 beginning with version 3.8.
Reasons for this include:

- Encouraging use of newest versions of Python 3
- Taking the lead of `prominent`_ open-source `projects`_
- `Unicode literal support`_ which allows for a cleaner codebase that
works in both Python 2 and Python 3

.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
.. _projects: http://flask.pocoo.org/docs/0.10/python3/
.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/

**********
Versioning
**********

This library follows `Semantic Versioning`_.

.. _Semantic Versioning: http://semver.org/

Some packages are currently in major version zero (``0.y.z``), which means that
anything may change at any time and the public API should not be considered
stable.

******************************
Contributor License Agreements
******************************

Before we can accept your pull requests you'll need to sign a Contributor
License Agreement (CLA):

- **If you are an individual writing original source code** and **you own the
intellectual property**, then you'll need to sign an
`individual CLA <https://developers.google.com/open-source/cla/individual>`__.
- **If you work for a company that wants to allow you to contribute your work**,
then you'll need to sign a
`corporate CLA <https://developers.google.com/open-source/cla/corporate>`__.

You can sign these electronically (just scroll to the bottom). After that,
we'll be able to accept your pull requests.
Loading
Loading