Skip to content

Commit 5965090

Browse files
chore(python): bump idna from 3.4 to 3.7 in .kokoro (#954)
* chore(python): bump idna from 3.4 to 3.7 in .kokoro Source-Link: googleapis/synthtool@d50980e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5a4c19d17e597b92d786e569be101e636c9c2817731f80a5adec56b2aa8fe070 * Apply changes from googleapis/synthtool#1950 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 424398e commit 5965090

File tree

11 files changed

+93
-46
lines changed

11 files changed

+93
-46
lines changed

packages/google-cloud-bigtable/.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:a8a80fc6456e433df53fc2a0d72ca0345db0ddefb409f1b75b118dfd1babd952
17-
# created: 2024-03-15T16:25:47.905264637Z
16+
digest: sha256:5a4c19d17e597b92d786e569be101e636c9c2817731f80a5adec56b2aa8fe070
17+
# created: 2024-04-12T11:35:58.922854369Z

packages/google-cloud-bigtable/.github/auto-label.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@
1313
# limitations under the License.
1414
requestsize:
1515
enabled: true
16+
17+
path:
18+
pullrequest: true
19+
paths:
20+
samples: "samples"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Blunderbuss config
2+
#
3+
# This file controls who is assigned for pull requests and issues.
4+
# Note: This file is autogenerated. To make changes to the assignee
5+
# team, please update `codeowner_team` in `.repo-metadata.json`.
6+
assign_issues:
7+
- googleapis/api-bigtable
8+
- googleapis/api-bigtable-partners
9+
10+
assign_issues_by:
11+
- labels:
12+
- "samples"
13+
to:
14+
- googleapis/python-samples-reviewers
15+
- googleapis/api-bigtable
16+
- googleapis/api-bigtable-partners
17+
18+
assign_prs:
19+
- googleapis/api-bigtable
20+
- googleapis/api-bigtable-partners

packages/google-cloud-bigtable/.kokoro/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ googleapis-common-protos==1.61.0 \
252252
--hash=sha256:22f1915393bb3245343f6efe87f6fe868532efc12aa26b391b15132e1279f1c0 \
253253
--hash=sha256:8a64866a97f6304a7179873a465d6eee97b7a24ec6cfd78e0f575e96b821240b
254254
# via google-api-core
255-
idna==3.4 \
256-
--hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \
257-
--hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2
255+
idna==3.7 \
256+
--hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \
257+
--hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0
258258
# via requests
259259
importlib-metadata==6.8.0 \
260260
--hash=sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb \

packages/google-cloud-bigtable/docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ For a list of all ``google-cloud-datastore`` releases:
3030
:maxdepth: 2
3131

3232
changelog
33+
34+
.. toctree::
35+
:hidden:
36+
37+
summary_overview.md
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
This is a templated file. Adding content to this file may result in it being
3+
reverted. Instead, if you want to place additional content, create an
4+
"overview_content.md" file in `docs/` directory. The Sphinx tool will
5+
pick up on the content and merge the content.
6+
]: #
7+
8+
# Cloud Bigtable API
9+
10+
Overview of the APIs available for Cloud Bigtable API.
11+
12+
## All entries
13+
14+
Classes, methods and properties & attributes for
15+
Cloud Bigtable API.
16+
17+
[classes](https://cloud.google.com/python/docs/reference/bigtable/latest/summary_class.html)
18+
19+
[methods](https://cloud.google.com/python/docs/reference/bigtable/latest/summary_method.html)
20+
21+
[properties and
22+
attributes](https://cloud.google.com/python/docs/reference/bigtable/latest/summary_property.html)

packages/google-cloud-bigtable/samples/hello/noxfile.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ def blacken(session: nox.sessions.Session) -> None:
160160
# format = isort + black
161161
#
162162

163-
164163
@nox.session
165164
def format(session: nox.sessions.Session) -> None:
166165
"""
@@ -188,9 +187,7 @@ def _session_tests(
188187
session: nox.sessions.Session, post_install: Callable = None
189188
) -> None:
190189
# check for presence of tests
191-
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob(
192-
"**/test_*.py", recursive=True
193-
)
190+
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob("**/test_*.py", recursive=True)
194191
test_list.extend(glob.glob("**/tests", recursive=True))
195192

196193
if len(test_list) == 0:
@@ -212,7 +209,9 @@ def _session_tests(
212209

213210
if os.path.exists("requirements-test.txt"):
214211
if os.path.exists("constraints-test.txt"):
215-
session.install("-r", "requirements-test.txt", "-c", "constraints-test.txt")
212+
session.install(
213+
"-r", "requirements-test.txt", "-c", "constraints-test.txt"
214+
)
216215
else:
217216
session.install("-r", "requirements-test.txt")
218217
with open("requirements-test.txt") as rtfile:
@@ -225,9 +224,9 @@ def _session_tests(
225224
post_install(session)
226225

227226
if "pytest-parallel" in packages:
228-
concurrent_args.extend(["--workers", "auto", "--tests-per-worker", "auto"])
227+
concurrent_args.extend(['--workers', 'auto', '--tests-per-worker', 'auto'])
229228
elif "pytest-xdist" in packages:
230-
concurrent_args.extend(["-n", "auto"])
229+
concurrent_args.extend(['-n', 'auto'])
231230

232231
session.run(
233232
"pytest",
@@ -257,7 +256,7 @@ def py(session: nox.sessions.Session) -> None:
257256

258257

259258
def _get_repo_root() -> Optional[str]:
260-
"""Returns the root folder of the project."""
259+
""" Returns the root folder of the project. """
261260
# Get root of this repository. Assume we don't have directories nested deeper than 10 items.
262261
p = Path(os.getcwd())
263262
for i in range(10):

packages/google-cloud-bigtable/samples/snippets/data_client/noxfile.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2019 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -160,7 +160,6 @@ def blacken(session: nox.sessions.Session) -> None:
160160
# format = isort + black
161161
#
162162

163-
164163
@nox.session
165164
def format(session: nox.sessions.Session) -> None:
166165
"""
@@ -188,9 +187,7 @@ def _session_tests(
188187
session: nox.sessions.Session, post_install: Callable = None
189188
) -> None:
190189
# check for presence of tests
191-
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob(
192-
"**/test_*.py", recursive=True
193-
)
190+
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob("**/test_*.py", recursive=True)
194191
test_list.extend(glob.glob("**/tests", recursive=True))
195192

196193
if len(test_list) == 0:
@@ -212,7 +209,9 @@ def _session_tests(
212209

213210
if os.path.exists("requirements-test.txt"):
214211
if os.path.exists("constraints-test.txt"):
215-
session.install("-r", "requirements-test.txt", "-c", "constraints-test.txt")
212+
session.install(
213+
"-r", "requirements-test.txt", "-c", "constraints-test.txt"
214+
)
216215
else:
217216
session.install("-r", "requirements-test.txt")
218217
with open("requirements-test.txt") as rtfile:
@@ -225,9 +224,9 @@ def _session_tests(
225224
post_install(session)
226225

227226
if "pytest-parallel" in packages:
228-
concurrent_args.extend(["--workers", "auto", "--tests-per-worker", "auto"])
227+
concurrent_args.extend(['--workers', 'auto', '--tests-per-worker', 'auto'])
229228
elif "pytest-xdist" in packages:
230-
concurrent_args.extend(["-n", "auto"])
229+
concurrent_args.extend(['-n', 'auto'])
231230

232231
session.run(
233232
"pytest",
@@ -257,7 +256,7 @@ def py(session: nox.sessions.Session) -> None:
257256

258257

259258
def _get_repo_root() -> Optional[str]:
260-
"""Returns the root folder of the project."""
259+
""" Returns the root folder of the project. """
261260
# Get root of this repository. Assume we don't have directories nested deeper than 10 items.
262261
p = Path(os.getcwd())
263262
for i in range(10):

packages/google-cloud-bigtable/samples/snippets/deletes/noxfile.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ def blacken(session: nox.sessions.Session) -> None:
160160
# format = isort + black
161161
#
162162

163-
164163
@nox.session
165164
def format(session: nox.sessions.Session) -> None:
166165
"""
@@ -188,9 +187,7 @@ def _session_tests(
188187
session: nox.sessions.Session, post_install: Callable = None
189188
) -> None:
190189
# check for presence of tests
191-
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob(
192-
"**/test_*.py", recursive=True
193-
)
190+
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob("**/test_*.py", recursive=True)
194191
test_list.extend(glob.glob("**/tests", recursive=True))
195192

196193
if len(test_list) == 0:
@@ -212,7 +209,9 @@ def _session_tests(
212209

213210
if os.path.exists("requirements-test.txt"):
214211
if os.path.exists("constraints-test.txt"):
215-
session.install("-r", "requirements-test.txt", "-c", "constraints-test.txt")
212+
session.install(
213+
"-r", "requirements-test.txt", "-c", "constraints-test.txt"
214+
)
216215
else:
217216
session.install("-r", "requirements-test.txt")
218217
with open("requirements-test.txt") as rtfile:
@@ -225,9 +224,9 @@ def _session_tests(
225224
post_install(session)
226225

227226
if "pytest-parallel" in packages:
228-
concurrent_args.extend(["--workers", "auto", "--tests-per-worker", "auto"])
227+
concurrent_args.extend(['--workers', 'auto', '--tests-per-worker', 'auto'])
229228
elif "pytest-xdist" in packages:
230-
concurrent_args.extend(["-n", "auto"])
229+
concurrent_args.extend(['-n', 'auto'])
231230

232231
session.run(
233232
"pytest",
@@ -257,7 +256,7 @@ def py(session: nox.sessions.Session) -> None:
257256

258257

259258
def _get_repo_root() -> Optional[str]:
260-
"""Returns the root folder of the project."""
259+
""" Returns the root folder of the project. """
261260
# Get root of this repository. Assume we don't have directories nested deeper than 10 items.
262261
p = Path(os.getcwd())
263262
for i in range(10):

packages/google-cloud-bigtable/samples/snippets/filters/noxfile.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ def blacken(session: nox.sessions.Session) -> None:
160160
# format = isort + black
161161
#
162162

163-
164163
@nox.session
165164
def format(session: nox.sessions.Session) -> None:
166165
"""
@@ -188,9 +187,7 @@ def _session_tests(
188187
session: nox.sessions.Session, post_install: Callable = None
189188
) -> None:
190189
# check for presence of tests
191-
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob(
192-
"**/test_*.py", recursive=True
193-
)
190+
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob("**/test_*.py", recursive=True)
194191
test_list.extend(glob.glob("**/tests", recursive=True))
195192

196193
if len(test_list) == 0:
@@ -212,7 +209,9 @@ def _session_tests(
212209

213210
if os.path.exists("requirements-test.txt"):
214211
if os.path.exists("constraints-test.txt"):
215-
session.install("-r", "requirements-test.txt", "-c", "constraints-test.txt")
212+
session.install(
213+
"-r", "requirements-test.txt", "-c", "constraints-test.txt"
214+
)
216215
else:
217216
session.install("-r", "requirements-test.txt")
218217
with open("requirements-test.txt") as rtfile:
@@ -225,9 +224,9 @@ def _session_tests(
225224
post_install(session)
226225

227226
if "pytest-parallel" in packages:
228-
concurrent_args.extend(["--workers", "auto", "--tests-per-worker", "auto"])
227+
concurrent_args.extend(['--workers', 'auto', '--tests-per-worker', 'auto'])
229228
elif "pytest-xdist" in packages:
230-
concurrent_args.extend(["-n", "auto"])
229+
concurrent_args.extend(['-n', 'auto'])
231230

232231
session.run(
233232
"pytest",
@@ -257,7 +256,7 @@ def py(session: nox.sessions.Session) -> None:
257256

258257

259258
def _get_repo_root() -> Optional[str]:
260-
"""Returns the root folder of the project."""
259+
""" Returns the root folder of the project. """
261260
# Get root of this repository. Assume we don't have directories nested deeper than 10 items.
262261
p = Path(os.getcwd())
263262
for i in range(10):

0 commit comments

Comments
 (0)