chore: bump langsmith from 0.8.0 to 0.8.18 in /libs/community#1859
Merged
Mason Daugherty (mdrxy) merged 1 commit intoJun 22, 2026
Merged
Google Cloud Build / langchain-google-community-us (llm-integration-tests)
failed
Jun 20, 2026 in 7m 1s
Summary
Build Information
| Trigger | langchain-google-community-us |
| Build | 7b60145e-feda-4398-ba43-94238b29433f |
| Start | 2026-06-20T14:49:19-07:00 |
| Duration | 7m0.363s |
| Status | FAILURE |
Steps
| Step | Status | Duration |
|---|---|---|
| integration tests | FAILURE | 6m45.643s |
Details
starting build "7b60145e-feda-4398-ba43-94238b29433f"
FETCHSOURCE
From https://github.com/langchain-ai/langchain-google
* branch 40e87ba7af26bfa37186d613e27b71e0fd0eb173 -> FETCH_HEAD
HEAD is now at 40e87ba chore: bump langsmith from 0.8.0 to 0.8.18 in /libs/community
GitCommit:
40e87ba7af26bfa37186d613e27b71e0fd0eb173
BUILD
Pulling image: python:3.11
3.11: Pulling from library/python
ef1b08ddd59d: Already exists
8b365b6ff7b7: Already exists
2ca884014342: Already exists
442cca122a8b: Already exists
f6fb30da281d: Pulling fs layer
00fb515ecb79: Pulling fs layer
e5c164e2c953: Pulling fs layer
e5c164e2c953: Verifying Checksum
e5c164e2c953: Download complete
f6fb30da281d: Verifying Checksum
f6fb30da281d: Download complete
00fb515ecb79: Verifying Checksum
00fb515ecb79: Download complete
f6fb30da281d: Pull complete
00fb515ecb79: Pull complete
e5c164e2c953: Pull complete
Digest: sha256:a30c4ff1a6a474019f9b1f0d921e81a254cf420d408c09e8a8b79fd803b62ebf
Status: Downloaded newer image for python:3.11
docker.io/library/python:3.11
Using pip 24.0 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
Collecting uv==0.8.13
Obtaining dependency information for uv==0.8.13 from https://files.pythonhosted.org/packages/82/6b/81387a715dd045f7edea452fb76a5896dcfc11b8ecf0db5106f4b0f633ec/uv-0.8.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading uv-0.8.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Downloading uv-0.8.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.5/19.5 MB 77.5 MB/s eta 0:00:00
Installing collected packages: uv
Successfully installed uv-0.8.13
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[notice] A new release of pip is available: 24.0 -> 26.1.2
[notice] To update, run: pip install --upgrade pip
Using CPython 3.11.15 interpreter at: /usr/local/bin/python3
Creating virtual environment at: .venv
Resolved 134 packages in 1ms
Building langchain-google-community @ file:///workspace/libs/community
Downloading zstandard (5.3MiB)
Downloading pygments (1.2MiB)
Downloading google-api-python-client (14.6MiB)
Downloading cryptography (4.5MiB)
Downloading aiohttp (1.7MiB)
Downloading pydantic-core (2.0MiB)
Downloading numpy (16.2MiB)
Downloading google-cloud-discoveryengine (3.3MiB)
Downloading grpcio (6.5MiB)
Downloading pillow (6.8MiB)
Downloading google-cloud-aiplatform (8.9MiB)
Downloading pandas (12.2MiB)
Downloading pyarrow (45.4MiB)
Building gapic-google-longrunning==0.11.2
Building googlemaps==4.10.0
Downloading aiohttp
Building google-gax==0.14.1
Downloading pydantic-core
Building oauth2client==3.0.0
Downloading pygments
Building ply==3.8
Built langchain-google-community @ file:///workspace/libs/community
Downloading zstandard
Downloading cryptography
Downloading pillow
Downloading grpcio
Downloading google-cloud-discoveryengine
Built gapic-google-longrunning==0.11.2
Built google-gax==0.14.1
Downloading numpy
Built oauth2client==3.0.0
Built ply==3.8
Downloading google-api-python-client
Built googlemaps==4.10.0
Downloading google-cloud-aiplatform
Downloading pandas
Downloading pyarrow
Prepared 120 packages in 5.98s
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
If the cache and target directories are on different filesystems, hardlinking may not be supported.
If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Installed 120 packages in 1.59s
+ aiohappyeyeballs==2.6.1
+ aiohttp==3.14.1
+ aiosignal==1.4.0
+ annotated-types==0.7.0
+ anyio==4.11.0
+ attrs==25.4.0
+ beautifulsoup4==4.15.0
+ certifi==2025.11.12
+ cffi==2.0.0
+ charset-normalizer==3.4.4
+ cloudpickle==3.1.2
+ cryptography==48.0.1
+ db-dtypes==1.7.0
+ distro==1.9.0
+ docstring-parser==0.17.0
+ freezegun==1.5.5
+ frozenlist==1.8.0
+ future==1.0.0
+ gapic-google-longrunning==0.11.2
+ google-api-core==2.31.0
+ google-api-python-client==2.197.0
+ google-auth==2.55.0
+ google-auth-httplib2==0.4.0
+ google-auth-oauthlib==1.4.0
+ google-cloud-aiplatform==1.158.0
+ google-cloud-bigquery==3.42.0
+ google-cloud-bigquery-storage==2.39.0
+ google-cloud-contentwarehouse==0.11.0
+ google-cloud-core==2.6.0
+ google-cloud-discoveryengine==0.20.0
+ google-cloud-documentai==3.15.0
+ google-cloud-modelarmor==0.7.0
+ google-cloud-resource-manager==1.15.0
+ google-cloud-speech==2.40.0
+ google-cloud-storage==3.12.0
+ google-cloud-texttospeech==2.36.0
+ google-cloud-translate==3.26.0
+ google-cloud-vision==3.14.0
+ google-crc32c==1.7.1
+ google-gax==0.14.1
+ google-genai==1.70.0
+ google-resumable-media==2.7.2
+ googleapis-common-protos==1.72.0
+ googlemaps==4.10.0
+ grpc-google-iam-v1==0.14.3
+ grpcio==1.81.1
+ grpcio-status==1.76.0
+ h11==0.16.0
+ httpcore==1.0.9
+ httplib2==0.31.0
+ httpx==0.28.1
+ idna==3.15
+ iniconfig==2.3.0
+ jsonpatch==1.33
+ jsonpointer==3.0.0
+ langchain==1.3.9
+ langchain-core==1.4.7
+ langchain-google-community==5.0.0 (from file:///workspace/libs/community)
+ langchain-protocol==0.0.18
+ langgraph==1.2.5
+ langgraph-checkpoint==4.1.1
+ langgraph-prebuilt==1.1.0
+ langgraph-sdk==0.4.2
+ langsmith==0.8.18
+ multidict==6.7.0
+ numpy==2.3.4
+ oauth2client==3.0.0
+ oauthlib==3.3.1
+ orjson==3.11.7
+ ormsgpack==1.12.0
+ packaging==25.0
+ pandas==2.3.3
+ pillow==12.2.0
+ pluggy==1.6.0
+ ply==3.8
+ propcache==0.4.1
+ proto-plus==1.26.1
+ protobuf==6.33.5
+ pyarrow==23.0.1
+ pyasn1==0.6.3
+ pyasn1-modules==0.4.2
+ pycparser==3.0
+ pydantic==2.13.4
+ pydantic-core==2.46.4
+ pygments==2.20.0
+ pyopenssl==26.2.0
+ pyparsing==3.2.5
+ pytest==9.1.0
+ pytest-asyncio==1.4.0
+ pytest-mock==3.15.1
+ pytest-retry==1.7.0
+ pytest-socket==0.8.0
+ pytest-timeout==2.4.0
+ pytest-watcher==0.6.3
+ python-dateutil==2.9.0.post0
+ pytz==2025.2
+ pyyaml==6.0.3
+ requests==2.34.2
+ requests-oauthlib==2.0.0
+ requests-toolbelt==1.0.0
+ rsa==4.9.1
+ six==1.17.0
+ sniffio==1.3.1
+ soupsieve==2.8
+ syrupy==5.3.2
+ tenacity==9.1.2
+ types-google-cloud-ndb==2.4.0.20260518
+ types-pillow==10.2.0.20240822
+ types-requests==2.33.0.20260518
+ typing-extensions==4.15.0
+ typing-inspection==0.4.2
+ tzdata==2025.2
+ uritemplate==4.2.0
+ urllib3==2.7.0
+ uuid-utils==0.12.0
+ watchdog==6.0.0
+ websockets==15.0.1
+ xxhash==3.6.0
+ yarl==1.22.0
+ zstandard==0.25.0
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.1.0, pluggy-1.6.0
rootdir: /workspace/libs/community
configfile: pyproject.toml
plugins: anyio-4.11.0, langsmith-0.8.18, mock-3.15.1, asyncio-1.4.0, timeout-2.4.0, retry-1.7.0, syrupy-5.3.2, socket-0.8.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 79 items
tests/integration_tests/callbacks/test_bigquery_callback.py ss [ 2%]
tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py . [ 3%]
............... [ 22%]
tests/integration_tests/feature_store/test_feature_store_fs_vectorstore.py . [ 24%]
..... [ 30%]
tests/integration_tests/test_bigquery.py XXX [ 34%]
tests/integration_tests/test_check_grounding.py . [ 35%]
tests/integration_tests/test_docai.py x [ 36%]
tests/integration_tests/test_docai_warehoure_retriever.py s [ 37%]
tests/integration_tests/test_geocoding_integration.py ssss [ 43%]
tests/integration_tests/test_googlesearch_api.py .. [ 45%]
tests/integration_tests/test_model_armor_integration.py ................ [ 65%]
........ [ 75%]
tests/integration_tests/test_placeholder.py . [ 77%]
tests/integration_tests/test_rank.py . [ 78%]
tests/integration_tests/test_sheets_integration.py FFFF. [ 84%]
tests/integration_tests/test_vertex_ai_search.py .......... [ 97%]
tests/integration_tests/test_vision.py .. [100%]
=================================== FAILURES ===================================
_____________________________ test_read_sheet_data _____________________________
Traceback (most recent call last):
File "/workspace/libs/community/langchain_google_community/sheets/read_sheet_tools.py", line 339, in _run
response = request.execute()
^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/http.py", line 938, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/values/A1%3AC3?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'consumer': 'projects/546814358370', 'service': 'sheets.googleapis.com', 'apiName': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.'}]">
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/tests/integration_tests/test_sheets_integration.py", line 36, in test_read_sheet_data
result = tool.run(
^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 1002, in run
raise error_to_raise
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 968, in run
response = context.run(self._run, *tool_args, **tool_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/langchain_google_community/sheets/read_sheet_tools.py", line 366, in _run
raise Exception(f"Error reading sheet data: {error}") from error
Exception: Error reading sheet data: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/values/A1%3AC3?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'consumer': 'projects/546814358370', 'service': 'sheets.googleapis.com', 'apiName': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.'}]">
------------------------------ Captured log call -------------------------------
WARNING googleapiclient.http:http.py:140 Encountered 403 Forbidden with reason "PERMISSION_DENIED"
__________________________ test_batch_read_sheet_data __________________________
Traceback (most recent call last):
File "/workspace/libs/community/langchain_google_community/sheets/read_sheet_tools.py", line 526, in _run
response = request.execute()
^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/http.py", line 938, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/values:batchGet?ranges=A1%3AC3&ranges=D1%3AF3&valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER&majorDimension=ROWS&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.BatchGetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'apiName': 'sheets.googleapis.com', 'service': 'sheets.googleapis.com', 'consumer': 'projects/546814358370', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.BatchGetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.BatchGetValues are blocked.'}]">
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/tests/integration_tests/test_sheets_integration.py", line 64, in test_batch_read_sheet_data
result = tool.run(
^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 1002, in run
raise error_to_raise
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 968, in run
response = context.run(self._run, *tool_args, **tool_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/langchain_google_community/sheets/read_sheet_tools.py", line 575, in _run
raise Exception(f"Error batch reading sheet data: {error}") from error
Exception: Error batch reading sheet data: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/values:batchGet?ranges=A1%3AC3&ranges=D1%3AF3&valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER&majorDimension=ROWS&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.BatchGetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'apiName': 'sheets.googleapis.com', 'service': 'sheets.googleapis.com', 'consumer': 'projects/546814358370', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.BatchGetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.BatchGetValues are blocked.'}]">
------------------------------ Captured log call -------------------------------
WARNING googleapiclient.http:http.py:140 Encountered 403 Forbidden with reason "PERMISSION_DENIED"
__________________________ test_get_spreadsheet_info ___________________________
Traceback (most recent call last):
File "/workspace/libs/community/langchain_google_community/sheets/get_spreadsheet_info.py", line 193, in _run
response = service.spreadsheets().get(**request_params).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/http.py", line 938, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms?includeGridData=false&fields=properties%2Csheets&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'apiName': 'sheets.googleapis.com', 'service': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet', 'consumer': 'projects/546814358370'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet are blocked.'}]">
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139
...
[Logs truncated due to log size limitations. For full logs, see https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%227b60145e-feda-4398-ba43-94238b29433f%22+AND+resource.labels.build_trigger_id%3D%22d61f5cd6-3332-44e0-ab54-f35035a8fb81%22&project=llm-integration-tests.]
...
heets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.BatchGetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'apiName': 'sheets.googleapis.com', 'service': 'sheets.googleapis.com', 'consumer': 'projects/546814358370', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.BatchGetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.BatchGetValues are blocked.'}]">
------------------------------ Captured log call -------------------------------
WARNING googleapiclient.http:http.py:140 Encountered 403 Forbidden with reason "PERMISSION_DENIED"
__________________________ test_get_spreadsheet_info ___________________________
Traceback (most recent call last):
File "/workspace/libs/community/langchain_google_community/sheets/get_spreadsheet_info.py", line 193, in _run
response = service.spreadsheets().get(**request_params).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/http.py", line 938, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms?includeGridData=false&fields=properties%2Csheets&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'apiName': 'sheets.googleapis.com', 'service': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet', 'consumer': 'projects/546814358370'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet are blocked.'}]">
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/tests/integration_tests/test_sheets_integration.py", line 91, in test_get_spreadsheet_info
result = tool.run(
^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 1002, in run
raise error_to_raise
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 968, in run
response = context.run(self._run, *tool_args, **tool_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/langchain_google_community/sheets/get_spreadsheet_info.py", line 206, in _run
raise Exception(f"Error getting spreadsheet info: {error}") from error
Exception: Error getting spreadsheet info: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms?includeGridData=false&fields=properties%2Csheets&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'apiName': 'sheets.googleapis.com', 'service': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet', 'consumer': 'projects/546814358370'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetSpreadsheet are blocked.'}]">
------------------------------ Captured log call -------------------------------
WARNING googleapiclient.http:http.py:140 Encountered 403 Forbidden with reason "PERMISSION_DENIED"
__________________________ test_toolkit_functionality __________________________
Traceback (most recent call last):
File "/workspace/libs/community/langchain_google_community/sheets/read_sheet_tools.py", line 339, in _run
response = request.execute()
^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/googleapiclient/http.py", line 938, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/values/A1%3AB2?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'consumer': 'projects/546814358370', 'service': 'sheets.googleapis.com', 'apiName': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.'}]">
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/tests/integration_tests/test_sheets_integration.py", line 124, in test_toolkit_functionality
result = read_tool.run(
^^^^^^^^^^^^^^
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 1002, in run
raise error_to_raise
File "/workspace/libs/community/.venv/lib/python3.11/site-packages/langchain_core/tools/base.py", line 968, in run
response = context.run(self._run, *tool_args, **tool_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/libs/community/langchain_google_community/sheets/read_sheet_tools.py", line 366, in _run
raise Exception(f"Error reading sheet data: {error}") from error
Exception: Error reading sheet data: <HttpError 403 when requesting https://sheets.googleapis.com/v4/spreadsheets/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/values/A1%3AB2?valueRenderOption=FORMATTED_VALUE&dateTimeRenderOption=SERIAL_NUMBER&key=AIzaSyAoMPGplbRY3lx9_B4E36LtiQiMM0JbrBs&alt=json returned "Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.". Details: "[{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_SERVICE_BLOCKED', 'domain': 'googleapis.com', 'metadata': {'consumer': 'projects/546814358370', 'service': 'sheets.googleapis.com', 'apiName': 'sheets.googleapis.com', 'methodName': 'google.apps.sheets.v4.SpreadsheetsService.GetValues'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Requests to this API sheets.googleapis.com method google.apps.sheets.v4.SpreadsheetsService.GetValues are blocked.'}]">
------------------------------ Captured log call -------------------------------
WARNING googleapiclient.http:http.py:140 Encountered 403 Forbidden with reason "PERMISSION_DENIED"
=============================== warnings summary ===============================
tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_semantic_search_sql_filter_fruits
tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_add_texts_with_embeddings
tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_get_documents_by_ids_and_filters
tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_batch_search
tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_batch_search
tests/integration_tests/feature_store/test_feature_store_fs_vectorstore.py::TestVertexFSVectorStore_fs_vectorstore::test_semantic_search
tests/integration_tests/feature_store/test_feature_store_fs_vectorstore.py::TestVertexFSVectorStore_fs_vectorstore::test_add_texts_with_embeddings_with_error
/workspace/libs/community/.venv/lib/python3.11/site-packages/google/cloud/bigquery/_pandas_helpers.py:486: FutureWarning: Loading pandas DataFrame into BigQuery will require pandas-gbq package version 0.26.1 or greater in the future. Tried to import pandas-gbq and got: No module named 'pandas_gbq'
warnings.warn(
tests/integration_tests/test_vertex_ai_search.py::test_google_vertex_ai_multiturnsearch_get_relevant_documents
tests/integration_tests/test_vertex_ai_search.py::test_google_vertex_ai_multiturnsearch_get_relevant_documents_segments
tests/integration_tests/test_vertex_ai_search.py::test_vertex_search_tool
tests/integration_tests/test_vertex_ai_search.py::test_native_serialization[None]
tests/integration_tests/test_vertex_ai_search.py::test_native_serialization[spec1]
tests/integration_tests/test_vertex_ai_search.py::test_cloudpickle[None]
tests/integration_tests/test_vertex_ai_search.py::test_cloudpickle[spec1]
/workspace/libs/community/langchain_google_community/vertex_ai_search.py:417: UserWarning: Beta features are configured but beta=False. The following beta features will be ignored:['custom_embedding_ratio']
warnings.warn(
tests/integration_tests/test_vertex_ai_search.py::test_native_serialization[None]
/workspace/libs/community/tests/integration_tests/test_vertex_ai_search.py:140: LangChainBetaWarning: The function `load` is in beta. It is actively being worked on, so the API may change.
retriever_loaded = load(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================================== XPASSES ====================================
============================= slowest 5 durations ==============================
217.42s setup tests/integration_tests/feature_store/test_feature_store_fs_vectorstore.py::TestVertexFSVectorStore_fs_vectorstore::test_semantic_search
28.30s call tests/integration_tests/feature_store/test_feature_store_fs_vectorstore.py::test_psc_feature_store
15.14s setup tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_semantic_search_sql_filter_fruits
8.57s call tests/integration_tests/feature_store/test_feature_store_bq_vectorstore.py::TestBigQueryVectorStore_bq_vectorstore::test_batch_search
4.47s call tests/integration_tests/feature_store/test_feature_store_fs_vectorstore.py::TestVertexFSVectorStore_fs_vectorstore::test_add_texts_with_embeddings_with_error
=========================== short test summary info ============================
SKIPPED [1] tests/integration_tests/callbacks/test_bigquery_callback.py:356: PROJECT_ID or BIGQUERY_LOGGING_DATASET_ID environment variables not set
SKIPPED [1] tests/integration_tests/callbacks/test_bigquery_callback.py:542: PROJECT_ID or BIGQUERY_LOGGING_DATASET_ID environment variables not set
SKIPPED [1] tests/integration_tests/test_docai_warehoure_retriever.py:11: CI/CD not ready.
SKIPPED [1] tests/integration_tests/test_geocoding_integration.py:31: GOOGLE_MAPS_API_KEY environment variable not set
SKIPPED [1] tests/integration_tests/test_geocoding_integration.py:50: GOOGLE_MAPS_API_KEY environment variable not set
SKIPPED [1] tests/integration_tests/test_geocoding_integration.py:68: GOOGLE_MAPS_API_KEY environment variable not set
SKIPPED [1] tests/integration_tests/test_geocoding_integration.py:76: GOOGLE_MAPS_API_KEY environment variable not set
XFAIL tests/integration_tests/test_docai.py::test_docai_layout_parser - TEMPORARY until dependency issues are resolved.
XPASS tests/integration_tests/test_bigquery.py::test_bigquery_loader_no_options - TEMPORARY until dependency issues are resolved.
XPASS tests/integration_tests/test_bigquery.py::test_bigquery_loader_page_content_columns - TEMPORARY until dependency issues are resolved.
XPASS tests/integration_tests/test_bigquery.py::test_bigquery_loader_metadata_columns - TEMPORARY until dependency issues are resolved.
FAILED tests/integration_tests/test_sheets_integration.py::test_read_sheet_data
FAILED tests/integration_tests/test_sheets_integration.py::test_batch_read_sheet_data
FAILED tests/integration_tests/test_sheets_integration.py::test_get_spreadsheet_info
FAILED tests/integration_tests/test_sheets_integration.py::test_toolkit_functionality
= 4 failed, 64 passed, 7 skipped, 1 xfailed, 3 xpassed, 15 warnings in 382.34s (0:06:22) =
ERROR
ERROR: build step 0 "python:3.11" failed: step exited with non-zero status: 1
starting build "7b60145e-feda-4398-ba43-94238b29433f"
FETCHSOURCE
From https://github.com/langchain-ai/langchain-google
* branch 40e87ba7af26bfa37186d613e27b71e0fd0eb173 -> FETCH_HEAD
HEAD is now at 40e87ba chore: bump langsmith from 0.8.0 to 0.8.18 in /libs/community
GitCommit:
40e87ba7af26bfa37186d613e27b71e0fd0eb173
BUILD
Pulling image: python:3.11
3.11: Pulling from library/python
ef1b08ddd59d: Already exists
8b365b6ff7b7: Already exists
2ca884014342: Already exists
442cca122a8b: Already exists
f6fb30da281d: Pulling fs layer
00fb515ecb79: Pulling fs layer
e5c164e2c953: Pulling fs layer
e5c164e2c953: Verifying Checksum
e5c164e2c953: Download complete
f6fb30da281d: Verifying Checksum
f6fb30da281d: Download complete
00fb515ecb79: Verifying Checksum
00fb515ecb79: Download complete
f6fb30da281d: Pull complete
00fb515ecb79: Pull complete
e5c164e2c953: Pull complete
Digest: sha256:a30c4ff1a6a474019f9b1f0d921e81a254cf420d408c09e8a8b79fd803b62ebf
Status: Downloaded newer image for python:3.11
docker.io/library/python:3.11
Using pip 24.0 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
Collecting uv==0.8.13
Obtaining dependency information for uv==0.8.13 from https://files.pythonhosted.org/packages/82/6b/81387a715dd045f7edea452fb76a5896dcfc11b8ecf0db5106f4b0f633ec/uv-0.8.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading uv-0.8.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Downloading uv-0.8.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.5/19.5 MB 77.5 MB/s eta 0:00:00
Installing collected packages: uv
Successfully installed uv-0.8.13
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[notice] A new release of pip is available: 24.0 -> 26.1.2
[notice] To update, run: pip install --upgrade pip
Using CPython 3.11.15 interpreter at: /usr/local/bin/python3
Creating virtual environment at: .venv
Resolved 134 packages in 1ms
Building langchain-google-community @ file:///workspace/libs/community
Downloading zstandard (5.3MiB)
Downloading pygments (1.2MiB)
Downloading google-api-python-client (14.6MiB)
Downloading cryptography (4.5MiB)
Downloading aiohttp (1.7MiB)
Downloading pydantic-core (2.0MiB)
Downloading numpy (16.2MiB)
Downloading google-cloud-discoveryengine (3.3MiB)
Downloading grpcio (6.5MiB)
Downloading pillow (6.8MiB)
Downloading google-cloud-aiplatform (8.9MiB)
Downloading pandas (12.2MiB)
Downloading pyarrow (45.4MiB)
Building gapic-google-longrunning==0.11.2
Building googlemaps==4.10.0
Downloading aiohttp
Building google-gax==0.14.1
Downloading pydantic-core
Building oauth2client==3.0.0
Downloading pygments
Building ply==3.8
Built langchain-google-community @ file:///workspace/libs/community
Downloading zstandard
Downloading cryptography
Downloading pillow
Downloading grpcio
Downloading google-cloud-discoveryengine
Built gapic-google-longrunning==0.11.2
Built google-gax==0.14.1
Downloading numpy
Built oauth2client==3.0.0
Built ply==3.8
Downloading google-api-python-client
Built googlemaps==4.10.0
Downloading google-cloud-aiplatform
Downloading pandas
Downloading pyarrow
Prepared 120 packages in 5.98s
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
If the cache and target directories are on different filesystems, hardlinking may not be supported.
If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Installed 120 packages in 1.59s
+ aiohappyeyeballs==2.6.1
+ aiohttp==3.14.1
+ aiosignal==1.4.0
+ annotated-types==0.7.0
+ anyio==4.11.0
+ attrs==25.4.0
+ beautifulsoup4==4.15.0
+ certifi==2025.11.12
+ cffi==2.0.0
+ charset-normalizer==3.4.4
+ cloudpickle==3.1.2
+ cryptography==48.0.1
+ db-dtypes==1.7.0
+ distro==1.9.0
+ docstring-parser==0.17.0
+ freezegun==1.5.5
+ frozenlist==1.8.0
+ future==1.0.0
+ gapic-google-longrunning==0.11.2
+ google-api-core==2.31.0
+ google-api-python-client==2.197.0
+ google-auth==2.55.0
+ google-auth-httplib2==0.4.0
+ google-auth-oauthlib==1.4.0
+ google-cloud-aiplatform==1.158.0
+ google-cloud-bigquery==3.42.0
+ google-cloud-bigquery-storage==2.39.0
+ google-cloud-contentwarehouse==0.11.0
+ google-cloud-core==2.6.0
+ google-cloud-discoveryengine==0.20.0
+ google-cloud-documentai==3.15.0
+ google-cloud-modelarmor==0.7.0
+ google-cloud-resource-manager==1.15.0
+ google-cloud-speech==2.40.0
+ google-cloud-storage==3.12.0
+ google-cloud-texttospeech==2.36.0
+ google-cloud-translate==3.26.0
+ google-cloud-vision==3.14.0
+ google-crc32c==1.7.1
+ google-gax==0.14.1
+ google-genai==1.70.0
+ google-resumable-media==2.7.2
+ googleapis-common-protos==1.72.0
+ googlemaps==4.10.0
+ grpc-google-iam-v1==0.14.3
+ grpcio==1.81.1
+ grpcio-status==1.76.0
+ h11==0.16.0
+ httpcore==1.0.9
+ httplib2==0.31.0
+ httpx==0.28.1
+ idna==3.15
+ iniconfig==2.3.0
+ jsonpatch==1.33
+ jsonpointer==3.0.0
+ langchain==1.3.9
+ langchain-core==1.4.7
+ langchain-google-community==5.0.0 (from file:///workspace/libs/community)
+ langchain-protocol==0.0.18
+ langgraph==1.2.5
+ langgraph-checkpoint==4.1.1
+ langgraph-prebuilt==1.1.0
+ langgraph-sdk==0.4.2
+ langsmith==0.8.18
+ multidict==6.7.0
+ numpy==2.3.4
+ oauth2client==3.0.0
+ oauthlib==3.3.1
+ orjson==3.11.7
+ ormsgpack==1.12.0
+ packaging==25.0
+ pandas==2.3.3
+ pillow==12.2.0
+ pluggy==1.6.0
+ ply==3.8
+ propcache==0.4.1
+ proto-plus==1.26.1
+ protobuf==6.33.5
+ pyarrow==23.0.1
+ pyasn1==0.6.3
+ pyasn1-modules==0.4.2
+ pycparser==3.0
+ pydantic==2.13.4
+ pydantic-core==2.46.4
+ pygments==2.20.0
+ pyopenssl==26.2.0
+ pyparsing==3.2.5
+ pytest==9.1.0
+ pytest-asyncio==1.4.0
+ pytest-mock==3.15.1
+ pytest-retry==1.7.0
+ pytest-socket==0.8.0
+ pytest-timeout==2.4.0
+ pytest-watcher==0.6.3
+ python-dateutil==2.9.0.post0
+ pytz==2025.2
+ pyyaml==6.0.3
+ requests==2.34.2
+ requests-oauthlib==2.0.0
+ requests-toolbelt==1.0.0
+ rsa==4.9.1
+ six==1.17.0
+ sniffio==1.3.1
+ soupsieve==2.8
+ syrupy==5.3.2
+ tenacity==9.1.2
+ types-google-cloud-ndb==2.4.0.20260518
+ types-pillow==10.2.0.20240822
+ types-requests==2.33.0.20260518
+ typing-extensions==4.15.0
+ typing-inspection==0.4.2
+ tzdata==2025.2
Loading