Skip to content

Commit 148f9ab

Browse files
committed
chore: update post processor image
1 parent 2d1eb36 commit 148f9ab

File tree

977 files changed

+2604
-4800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

977 files changed

+2604
-4800
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest
16-
digest: sha256:2504e243aeb46a96e5012409500fd35b01b86855bc4b916646d8b179b2908741
16+
digest: sha256:13ca63e8d7fa651fb6146740dab541ee432c55b91507bacfd269dec8bc4c0790

packages/google-ai-generativelanguage/CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system- -- -k <name of test>
146+
$ nox -s system-3.11 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python.
151+
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local

packages/google-ai-generativelanguage/docs/generativelanguage_v1beta2/services.rst renamed to packages/google-ai-generativelanguage/docs/generativelanguage_v1beta2/services_.rst

File renamed without changes.

packages/google-ai-generativelanguage/docs/generativelanguage_v1beta2/types.rst renamed to packages/google-ai-generativelanguage/docs/generativelanguage_v1beta2/types_.rst

File renamed without changes.

packages/google-ai-generativelanguage/docs/generativelanguage_v1beta3/services.rst renamed to packages/google-ai-generativelanguage/docs/generativelanguage_v1beta3/services_.rst

File renamed without changes.

packages/google-ai-generativelanguage/docs/generativelanguage_v1beta3/types.rst renamed to packages/google-ai-generativelanguage/docs/generativelanguage_v1beta3/types_.rst

File renamed without changes.

packages/google-ai-generativelanguage/docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ API Reference
1111
.. toctree::
1212
:maxdepth: 2
1313

14-
generativelanguage_v1beta3/services
15-
generativelanguage_v1beta3/types
14+
generativelanguage_v1beta3/services_
15+
generativelanguage_v1beta3/types_
1616

1717
API Reference
1818
-------------
1919
.. toctree::
2020
:maxdepth: 2
2121

22-
generativelanguage_v1beta2/services
23-
generativelanguage_v1beta2/types
22+
generativelanguage_v1beta2/services_
23+
generativelanguage_v1beta2/types_
2424

2525

2626
Changelog

packages/google-ai-generativelanguage/noxfile.py

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -22,41 +22,42 @@
2222
import pathlib
2323
import re
2424
import shutil
25+
from typing import Dict, List
2526
import warnings
2627

2728
import nox
2829

29-
BLACK_VERSION = "black==22.3.0"
30-
ISORT_VERSION = "isort==5.10.1"
30+
BLACK_VERSION = "black[jupyter]==23.7.0"
31+
ISORT_VERSION = "isort==5.11.0"
3132
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3233

3334
DEFAULT_PYTHON_VERSION = "3.9"
3435

35-
UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"]
36+
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
3637
UNIT_TEST_STANDARD_DEPENDENCIES = [
3738
"mock",
3839
"asyncmock",
3940
"pytest",
4041
"pytest-cov",
4142
"pytest-asyncio",
4243
]
43-
UNIT_TEST_EXTERNAL_DEPENDENCIES = []
44-
UNIT_TEST_LOCAL_DEPENDENCIES = []
45-
UNIT_TEST_DEPENDENCIES = []
46-
UNIT_TEST_EXTRAS = []
47-
UNIT_TEST_EXTRAS_BY_PYTHON = {}
44+
UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = []
45+
UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = []
46+
UNIT_TEST_DEPENDENCIES: List[str] = []
47+
UNIT_TEST_EXTRAS: List[str] = []
48+
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
4849

49-
SYSTEM_TEST_PYTHON_VERSIONS = []
50+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11"]
5051
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
5152
"mock",
5253
"pytest",
5354
"google-cloud-testutils",
5455
]
55-
SYSTEM_TEST_EXTERNAL_DEPENDENCIES = []
56-
SYSTEM_TEST_LOCAL_DEPENDENCIES = []
57-
SYSTEM_TEST_DEPENDENCIES = []
58-
SYSTEM_TEST_EXTRAS = []
59-
SYSTEM_TEST_EXTRAS_BY_PYTHON = {}
56+
SYSTEM_TEST_EXTERNAL_DEPENDENCIES: List[str] = []
57+
SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = []
58+
SYSTEM_TEST_DEPENDENCIES: List[str] = []
59+
SYSTEM_TEST_EXTRAS: List[str] = []
60+
SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6061

6162
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
6263

@@ -187,7 +188,6 @@ def unit(session):
187188

188189

189190
def install_systemtest_dependencies(session, *constraints):
190-
191191
# Use pre-release gRPC for system tests.
192192
# Exclude version 1.52.0rc1 which has a known issue.
193193
# See https://github.com/grpc/grpc/issues/32163
@@ -405,24 +405,3 @@ def prerelease_deps(session):
405405
session.run("python", "-c", "import google.auth; print(google.auth.__version__)")
406406

407407
session.run("py.test", "tests/unit")
408-
409-
system_test_path = os.path.join("tests", "system.py")
410-
system_test_folder_path = os.path.join("tests", "system")
411-
412-
# Only run system tests if found.
413-
if os.path.exists(system_test_path):
414-
session.run(
415-
"py.test",
416-
"--verbose",
417-
f"--junitxml=system_{session.python}_sponge_log.xml",
418-
system_test_path,
419-
*session.posargs,
420-
)
421-
if os.path.exists(system_test_folder_path):
422-
session.run(
423-
"py.test",
424-
"--verbose",
425-
f"--junitxml=system_{session.python}_sponge_log.xml",
426-
system_test_folder_path,
427-
*session.posargs,
428-
)

packages/google-apps-script-type/docs/calendar/services.rst renamed to packages/google-apps-script-type/docs/calendar/services_.rst

File renamed without changes.

packages/google-apps-script-type/docs/calendar/types.rst renamed to packages/google-apps-script-type/docs/calendar/types_.rst

File renamed without changes.

0 commit comments

Comments
 (0)