Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabled tool support for gemini2 #640

Merged
merged 1 commit into from
Dec 12, 2024

enabled tool support for gemini2

13611a2
Select commit
Loading
Failed to load commit list.
Merged

enabled tool support for gemini2 #640

enabled tool support for gemini2
13611a2
Select commit
Loading
Failed to load commit list.
Google Cloud Build / langchain-google-genai-us (llm-integration-tests) succeeded Dec 12, 2024 in 11m 55s

Summary

Build Information

Trigger langchain-google-genai-us
Build 48d082e4-da95-42fb-8a91-5a89479e68bf
Start 2024-12-12T05:48:22-08:00
Duration 11m54.782s
Status SUCCESS

Steps

Step Status Duration
integration tests SUCCESS 11m51.334s

Details


starting build "48d082e4-da95-42fb-8a91-5a89479e68bf"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/langchain-ai/langchain-google
 * branch            13611a2d2a05d18dc4a414699c69249e73c05b01 -> FETCH_HEAD
HEAD is now at 13611a2 enabled tool support for gemini2
BUILD
Pulling image: python:3.11
3.11: Pulling from library/python
fdf894e782a2: Already exists
5bd71677db44: Already exists
551df7f94f9c: Already exists
ce82e98d553d: Already exists
2371bf9a39a3: Pulling fs layer
0b3239f18dfa: Pulling fs layer
de07a735a679: Pulling fs layer
de07a735a679: Verifying Checksum
de07a735a679: Download complete
2371bf9a39a3: Verifying Checksum
2371bf9a39a3: Download complete
0b3239f18dfa: Verifying Checksum
0b3239f18dfa: Download complete
2371bf9a39a3: Pull complete
0b3239f18dfa: Pull complete
de07a735a679: Pull complete
Digest: sha256:2c80c66d876952e04fa74113864903198b7cfb36b839acb7a8fef82e94ed067c
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 poetry==1.7.1
  Obtaining dependency information for poetry==1.7.1 from https://files.pythonhosted.org/packages/79/94/95c62fb8463d3f7dd86f1fc27369f63b4e028cbdbc7f62716183d4f51d16/poetry-1.7.1-py3-none-any.whl.metadata
  Downloading poetry-1.7.1-py3-none-any.whl.metadata (6.8 kB)
Collecting build<2.0.0,>=1.0.3 (from poetry==1.7.1)
  Obtaining dependency information for build<2.0.0,>=1.0.3 from https://files.pythonhosted.org/packages/84/c2/80633736cd183ee4a62107413def345f7e6e3c01563dbca1417363cf957e/build-1.2.2.post1-py3-none-any.whl.metadata
  Downloading build-1.2.2.post1-py3-none-any.whl.metadata (6.5 kB)
Collecting cachecontrol<0.14.0,>=0.13.0 (from cachecontrol[filecache]<0.14.0,>=0.13.0->poetry==1.7.1)
  Obtaining dependency information for cachecontrol<0.14.0,>=0.13.0 from https://files.pythonhosted.org/packages/1d/e3/a22348e6226dcd585d5a4b5f0175b3a16dabfd3912cbeb02f321d00e56c7/cachecontrol-0.13.1-py3-none-any.whl.metadata
  Downloading cachecontrol-0.13.1-py3-none-any.whl.metadata (3.0 kB)
  Link requires a different Python (3.11.11 not in: '>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0'): https://files.pythonhosted.org/packages/3d/53/4eaeead9a3564955a66ad25d99ddac161e9abc67646384019255afd2e0ce/cleo-0.6.2-py2.py3-none-any.whl (from https://pypi.org/simple/cleo/) (requires-python:>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0)
  Link requires a different Python (3.11.11 not in: '>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0'): https://files.pythonhosted.org/packages/57/af/a17f5e4184a872e8916d0fd84d77513c74cd055585c1936181d9f9a8c69e/cleo-0.6.2.tar.gz (from https://pypi.org/simple/cleo/) (requires-python:>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0)
  Link requires a different Python (3.11.11 not in: '>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0'): https://files.pythonhosted.org/packages/f6/be/f92c1221bd2acd9bb170d8097ce62ea2905e3bd8a0061ecbe76db99d8e8d/cleo-0.6.3-py2.py3-none-any.whl (from https://pypi.org/simple/cleo/) (requires-python:>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0)
  Link requires a different Python (3.11.11 not in: '>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0'): https://files.pythonhosted.org/packages/69/49/f23c30b41eee47d3f9032c427f18616a8ff83c64d7210cad5ab5ff9ef8b4/cleo-0.6.3.tar.gz (from https://pypi.org/simple/cleo/) (requires-python:>=2.7.0.0,<2.8.0.0,>=3.4.0.0,<4.0.0.0)
Collecting cleo<3.0.0,>=2.1.0 (from poetry==1.7.1)
  Obtaining dependency information for cleo<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/2d/f5/6bbead8b880620e5a99e0e4bb9e22e67cca16ff48d54105302a3e7821096/cleo-2.1.0-py3-none-any.whl.metadata
  Downloading cleo-2.1.0-py3-none-any.whl.metadata (12 kB)
Collecting crashtest<0.5.0,>=0.4.1 (from poetry==1.7.1)
  Obtaining dependency information for crashtest<0.5.0,>=0.4.1 from https://files.pythonhosted.org/packages/b0/5c/3ba7d12e7a79566f97b8f954400926d7b6eb33bcdccc1315a857f200f1f1/crashtest-0.4.1-py3-none-any.whl.metadata
  Downloading crashtest-0.4.1-py3-none-any.whl.metadata (1.1 kB)
Collecting dulwich<0.22.0,>=0.21.2 (from poetry==1.7.1)
  Obtaining dependency information for dulwich<0.22.0,>=0.21.2 from https://files.pythonhosted.org/packages/d3/42/4f9d76a5d6dc9a952553418379d17364c161c0d3da6e5dfff6d5e455c666/dulwich-0.21.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading dulwich-0.21.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.3 kB)
Collecting fastjsonschema<3.0.0,>=2.18.0 (from poetry==1.7.1)
  Obtaining dependency information for fastjsonschema<3.0.0,>=2.18.0 from https://files.pythonhosted.org/packages/90/2b/0817a2b257fe88725c25589d89aec060581aabf668707a8d03b2e9e0cb2a/fastjsonschema-2.21.1-py3-none-any.whl.metadata
  Downloading fastjsonschema-2.21.1-py3-none-any.whl.metadata (2.2 kB)
Collecting installer<0.8.0,>=0.7.0 (from poetry==1.7.1)
  Obtaining dependency information for installer<0.8.0,>=0.7.0 from https://files.pythonhosted.org/packages/e5/ca/1172b6638d52f2d6caa2dd262ec4c811ba59eee96d54a7701930726bce18/installer-0.7.0-py3-none-any.whl.metadata
  Downloading installer-0.7.0-py3-none-any.whl.metadata (936 bytes)
Collecting keyring<25.0.0,>=24.0.0 (from poetry==1.7.1)
  Obtaining dependency information for keyring<25.0.0,>=24.0.0 from https://files.pythonhosted.org/packages/7c/23/d557507915181687e4a613e1c8a01583fd6d7cb7590e1f039e357fe3b304/keyring-24.3.1-py3-none-any.whl.metadata
  Downloading keyring-24.3.1-py3-none-any.whl.metadata (20 kB)
Collecting packaging>=20.5 (from poetry==1.7.1)
  Obtaining dependency information for packaging>=20.5 from https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl.metadata
  Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pexpect<5.0.0,>=4.7.0 (from poetry==1.7.1)
  Obtaining dependency information for pexpect<5.0.0,>=4.7.0 from https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl.metadata
  Downloading pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting pkginfo<2.0.0,>=1.9.4 (from poetry==1.7.1)
  Obtaining dependency information for pkginfo<2.0.0,>=1.9.4 from https://files.pythonhosted.org/packages/21/11/4af184fbd8ae13daa13953212b27a212f4e63772ca8a0dd84d08b60ed206/pkginfo-1.12.0-py3-none-any.whl.metadata
  Downloading pkginfo-1.12.0-py3-none-any.whl.metadata (12 kB)
Collecting platformdirs<4.0.0,>=3.0.0 (from poetry==1.7.1)
  Obtaining dependency information for platformdirs<4.0.0,>=3.0.0 from https://files.pythonhosted.org/packages/56/29/3ec311dc18804409ecf0d2b09caa976f3ae6215559306b5b530004e11156/platformdirs-3.11.0-py3-none-any.whl.metadata
  Downloading platformdirs-3.11.0-py3-none-any.whl.metadata (11 kB)
Collecting poetry-core==1.8.1 (from poetry==1.7.1)
  Obtaining dependency information for poetry-core==1.8.1 from https://files.pythonhosted.org/packages/99/bc/058b8ff87871fce6615ad032d62c773272f243266b110f7b86d146cf78d8/poetry_core-1.8.1-py3-none-any.whl.metadata
  Downloading poetry_core-1.8.1-py3-none-any.whl.metadata (3.5 kB)
Collecting poetry-plugin-export<2.0.0,>=1.6.0 (from poetry==1.7.1)
  Obtaining dependency information for poetry-plugin-export<2.0.0,>=1.6.0 from https://files.pythonhosted.org/packages/de/55/1dd7c8c955d71f58a9202c37bf8e037d697dc9f11a9a2ade65663251ee44/poetry_plugin_export-1.8.0-py3-none-any.whl.metadata
  Downloading poetry_plugin_export-1.8.0-py3-none-any.whl.metadata (2.8 kB)
Collecting pyproject-hooks<2.0.0,>=1.0.0 (from poetry==1.7.1)
  Obtaining dependency information for pyproject-hooks<2.0.0,>=1.0.0 from https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl.metadata
  Downloading pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
Collecting requests<3.0,>=2.26 (from poetry==1.7.1)
  Obtaining dependency information for requests<3.0,>=2.26 from https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl.metadata
  Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting requests-toolbelt<2,>=0.9.1 (from poetry==1.7.1)
  Obtaining dependency information for requests-toolbelt<2,>=0.9.1 from https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata
  Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting shellingham<2.0,>=1.5 (from poetry==1.7.1)
  Obtaining dependency information for shellingham<2.0,>=1.5 from https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl.metadata
  Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting tomlkit<1.0.0,>=0.11.4 (from poetry==1.7.1)
  Obtaining dependency information for tomlkit<1.0.0,>=0.11.4 from https://files.pythonhosted.org/packages/f9/b6/a447b5e4ec71e13871be01ba81f5dfc9d0af7e473da256ff46bc0e24026f/tomlkit-0.13.2-py3-none-any.whl.metadata
  Downloading tomlkit-0.13.2-py3-none-any.whl.metadata (2.7 kB)
Collecting trove-classifiers>=2022.5.19 (from poetry==1.7.1)
  Obtaining dependency information for trove-classifiers>=2022.5.19 from https://files.pythonhosted.org/packages/35/35/5055ab8d215af853d07bbff1a74edf48f91ed308f037380a5ca52dd73348/trove_classifiers-2024.10.21.16-py3-none-any.whl.metadata
  Downloading trove_classifiers-2024.10.21.16-py3-none-any.whl.metadata (2.2 kB)
Collecting virtualenv<21.0.0,>=20.23.0 (from poetry==1.7.1)
  Obtaining dependency information for virtualenv<21.0.0,>=20.23.0 from https://files.pythonhosted.org/packages/10/f9/0919cf6f1432a8c4baa62511f8f8da8225432d22e83e3476f5be1a1edc6e/virtualenv-20.28.0-py3-none-any.whl.metadata
  Downloading virtualenv-20.28.0-py3-none-any.whl.metadata (4.4 kB)
Collecting msgpack>=0.5.2 (from cachecontrol<0.14.0,>=0.13.0->cachecontrol[filecache]<0.14.0,>=0.13.0->poetry==1.7.1)
  Obtaining dependency information for msgpack>=0.5.2 from https://files.pythonhosted.org/packages/a8/a1/ad7b84b91ab5a324e707f4c9761633e357820b011a01e34ce658c1dda7cc/msgpack-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading msgpack-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.4 kB)
Collecting filelock>=3.8.0 (from cachecontrol[filecache]<0.14.0,>=0.13.0->poetry==1.7.1)
  Obtaining dependency information for filelock>=3.8.0 from https://files.pythonhosted.org/packages/b9/f8/feced7779d755758a52d1f6635d990b8d98dc0a29fa568bbe0625f18fdf3/filelock-3.16.1-py3-none-any.whl.metadata
  Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
Collecting rapidfuzz<4.0.0,>=3.0.0 (from cleo<3.0.0,>=2.1.0->poetry==1.7.1)
  Obtaining dependency information for rapidfuzz<4.0.0,>=3.0.0 from https://files.pythonhosted.org/packages/ac/3d/fa8444d7144129b1c67a2ba0660b44af03285fd641516ee294593d2acb91/rapidfuzz-3.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading rapidfuzz-3.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting urllib3>=1.25 (from dulwich<0.22.0,>=0.21.2->poetry==1.7.1)
  Obtaining dependency information for urllib3>=1.25 from https://files.pythonhosted.org/packages/ce/d9/5f4c13cecde62396b0d3fe530a50ccea91e7dfc1ccf0e09c228841bb5ba8/urllib3-2.2.3-py3-none-any.whl.metadata
  Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting jaraco.classes (from keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for jaraco.classes from https://files.pythonhosted.org/packages/7f/66/b15ce62552d84bbfcec9a4873ab79d993a1dd4edb922cbfccae192bd5b5f/jaraco.classes-3.4.0-py3-none-any.whl.metadata
  Downloading jaraco.classes-3.4.0-py3-none-any.whl.metadata (2.6 kB)
Collecting importlib-metadata>=4.11.4 (from keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for importlib-metadata>=4.11.4 from https://files.pythonhosted.org/packages/a0/d9/a1e041c5e7caa9a05c925f4bdbdfb7f006d1f74996af53467bc394c97be7/importlib_metadata-8.5.0-py3-none-any.whl.metadata
  Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting SecretStorage>=3.2 (from keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for SecretStorage>=3.2 from https://files.pythonhosted.org/packages/54/24/b4293291fa1dd830f353d2cb163295742fa87f179fcc8a20a306a81978b7/SecretStorage-3.3.3-py3-none-any.whl.metadata
  Downloading SecretStorage-3.3.3-py3-none-any.whl.metadata (4.0 kB)
Collecting jeepney>=0.4.2 (from keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for jeepney>=0.4.2 from https://files.pythonhosted.org/packages/ae/72/2a1e2290f1ab1e06f71f3d0f1646c9e4634e70e1d37491535e19266e8dc9/jeepney-0.8.0-py3-none-any.whl.metadata
  Downloading jeepney-0.8.0-py3-none-any.whl.metadata (1.3 kB)
Collecting ptyprocess>=0.5 (from pexpect<5.0.0,>=4.7.0->poetry==1.7.1)
  Obtaining dependency information for ptyprocess>=0.5 from https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl.metadata
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl.metadata (1.3 kB)
INFO: pip is looking at multiple versions of poetry-plugin-export to determine which version is compatible with other requirements. This could take a while.
Collecting poetry-plugin-export<2.0.0,>=1.6.0 (from poetry==1.7.1)
  Obtaining dependency information for poetry-plugin-export<2.0.0,>=1.6.0 from https://files.pythonhosted.org/packages/a5/1e/106eb732a21b809b17366666d97a2b797d30f125efa4202a142d8485dd59/poetry_plugin_export-1.7.1-py3-none-any.whl.metadata
  Downloading poetry_plugin_export-1.7.1-py3-none-any.whl.metadata (2.8 kB)
  Obtaining dependency information for poetry-plugin-export<2.0.0,>=1.6.0 from https://files.pythonhosted.org/packages/6f/a4/e45a9ee0de134af25b9b5c6958f88f00938a3f77b513f66e940483bdc11b/poetry_plugin_export-1.7.0-py3-none-any.whl.metadata
  Downloading poetry_plugin_export-1.7.0-py3-none-any.whl.metadata (2.8 kB)
  Obtaining dependency information for poetry-plugin-export<2.0.0,>=1.6.0 from https://files.pythonhosted.org/packages/17/bb/78d7d920bb463e4bee64f44d8b0d4a286a80af7e76ff8326e5169103f44b/poetry_plugin_export-1.6.0-py3-none-any.whl.metadata
  Downloading poetry_plugin_export-1.6.0-py3-none-any.whl.metadata (2.8 kB)
Collecting charset-normalizer<4,>=2 (from requests<3.0,>=2.26->poetry==1.7.1)
  Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/eb/5b/6f10bad0f6461fa272bfbbdf5d0023b5fb9bc6217c92bf068fa5a99820f5/charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests<3.0,>=2.26->poetry==1.7.1)
  Obtaining dependency information for idna<4,>=2.5 from https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl.metadata
  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests<3.0,>=2.26->poetry==1.7.1)
  Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl.metadata
  Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv<21.0.0,>=20.23.0->poetry==1.7.1)
  Obtaining dependency information for distlib<1,>=0.3.7 from https://files.pythonhosted.org/packages/91/a1/cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87/distlib-0.3.9-py2.py3-none-any.whl.metadata
  Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
Collecting zipp>=3.20 (from importlib-metadata>=4.11.4->keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for zipp>=3.20 from https://files.pythonhosted.org/packages/b7/1a/7e4798e9339adc931158c9d69ecc34f5e6791489d469f5e50ec15e35f458/zipp-3.21.0-py3-none-any.whl.metadata
  Downloading zipp-3.21.0-py3-none-any.whl.metadata (3.7 kB)
Collecting cryptography>=2.0 (from SecretStorage>=3.2->keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for cryptography>=2.0 from https://files.pythonhosted.org/packages/ef/82/72403624f197af0db6bac4e58153bc9ac0e6020e57234115db9596eee85d/cryptography-44.0.0-cp39-abi3-manylinux_2_28_x86_64.whl.metadata
  Downloading cryptography-44.0.0-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.7 kB)
Collecting more-itertools (from jaraco.classes->keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for more-itertools from https://files.pythonhosted.org/packages/48/7e/3a64597054a70f7c86eb0a7d4fc315b8c1ab932f64883a297bdffeb5f967/more_itertools-10.5.0-py3-none-any.whl.metadata
  Downloading more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)
Collecting cffi>=1.12 (from cryptography>=2.0->SecretStorage>=3.2->keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for cffi>=1.12 from https://files.pythonhosted.org/packages/ff/6b/d45873c5e0242196f042d555526f92aa9e0c32355a1be1ff8c27f077fd37/cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring<25.0.0,>=24.0.0->poetry==1.7.1)
  Obtaining dependency information for pycparser from https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl.metadata
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading poetry-1.7.1-py3-none-any.whl (235 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 236.0/236.0 kB 11.1 MB/s eta 0:00:00
Downloading poetry_core-1.8.1-py3-none-any.whl (306 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 306.6/306.6 kB 33.0 MB/s eta 0:00:00
Downloading build-1.2.2.post1-py3-none-any.whl (22 kB)
Downloading cachecontrol-0.13.1-py3-none-any.whl (22 kB)
Downloading cleo-2.1.0-py3-none-any.whl (78 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 10.7 MB/s eta 0:00:00
Downloading crashtest-0.4.1-py3-none-any.whl (7.6 kB)
Downloading dulwich-0.21.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (516 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 516.4/516.4 kB 48.8 MB/s eta 0:00:00
Downloading fastjsonschema-2.21.1-py3-none-any.whl (23 kB)
Downloading installer-0.7.0-py3-none-any.whl (453 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 453.8/453.8 kB 42.6 MB/s eta 0:00:00
Downloading keyring-24.3.1-py3-none-any.whl (38 kB)
Downloading packaging-24.2-py3-none-any.whl (65 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 8.7 MB/s eta 0:00:00
Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 9.6 MB/s eta 0:00:00
Downloading pkginfo-1.12.0-py3-none-any.whl (32 kB)
Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
Downloading poetry_plugin_export-1.6.0-py3-none-any.whl (10 kB)
Downloading pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 9.6 MB/s eta 0:00:00
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 7.0 MB/s eta 0:00:00
Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Downloading tomlkit-0.13.2-py3-none-any.whl (37 kB)
Downloading trove_classifiers-2024.10.21.16-py3-none-any.whl (13 kB)
Downloading virtualenv-20.28.0-py3-none-any.whl (4.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 85.2 MB/s eta 0:00:00
Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 22.9 MB/s eta 0:00:00
Downloading charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.6/142.6 kB 20.4 MB/s eta 0:00:00
Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 kB 45.9 MB/s eta 0:00:00
Downloading filelock-3.16.1-py3-none-any.whl (16 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 10.0 MB/s eta 0:00:00
Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 6.5 MB/s eta 0:00:00
Downloading msgpack-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (403 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 403.7/403.7 kB 41.4 MB/s eta 0:00:00
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Downloading rapidfuzz-3.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 90.8 MB/s eta 0:00:00
Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.3/126.3 kB 17.8 MB/s eta 0:00:00
Downloading jaraco.classes-3.4.0-py3-none-any.whl (6.8 kB)
Downloading cryptography-44.0.0-cp39-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 107.4 MB/s eta 0:00:00
Downloading zipp-3.21.0-py3-none-any.whl (9.6 kB)
Downloading more_itertools-10.5.0-py3-none-any.whl (60 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.0/61.0 kB 8.4 MB/s eta 0:00:00
Downloading cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 467.2/467.2 kB 47.9 MB/s eta 0:00:00
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 17.1 MB/s eta 0:00:00
Installing collected packages: trove-classifiers, ptyprocess, fastjsonschema, distlib, zipp, urllib3, tomlkit, shellingham, rapidfuzz, pyproject-hooks, pycparser, poetry-core, platformdirs, pkginfo, pexpect, packaging, msgpack, more-itertools, jeepney, installer, idna, filelock, crashtest, charset-normalizer, certifi, virtualenv, requests, jaraco.classes, importlib-metadata, dulwich, cleo, cffi, build, requests-toolbelt, cryptography, cachecontrol, SecretStorage, keyring, poetry-plugin-export, poetry
  changing mode of /usr/local/bin/pkginfo to 755
  changing mode of /usr/local/bin/normalizer to 755
  changing mode of /usr/local/bin/virtualenv to 755
  changing mode of /usr/local/bin/dulwich to 755
  changing mode of /usr/local/bin/pyproject-build to 755
  changing mode of /usr/local/bin/doesitcache to 755
  changing mode of /usr/local/bin/keyring to 755
  changing mode of /usr/local/bin/poetry to 755
Successfully installed SecretStorage-3.3.3 build-1.2.2.post1 cachecontrol-0.13.1 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.4.0 cleo-2.1.0 crashtest-0.4.1 cryptography-44.0.0 distlib-0.3.9 dulwich-0.21.7 fastjsonschema-2.21.1 filelock-3.16.1 idna-3.10 importlib-metadata-8.5.0 installer-0.7.0 jaraco.classes-3.4.0 jeepney-0.8.0 keyring-24.3.1 more-itertools-10.5.0 msgpack-1.1.0 packaging-24.2 pexpect-4.9.0 pkginfo-1.12.0 platformdirs-3.11.0 poetry-1.7.1 poetry-core-1.8.1 poetry-plugin-export-1.6.0 ptyprocess-0.7.0 pycparser-2.22 pyproject-hooks-1.2.0 rapidfuzz-3.10.1 requests-2.32.3 requests-toolbelt-1.0.0 shellingham-1.5.4 tomlkit-0.13.2 trove-classifiers-2024.10.21.16 urllib3-2.2.3 virtualenv-20.28.0 zipp-3.21.0
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 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Creating virtualenv langchain-google-genai-G8ioShJx-py3.11 in /builder/home/.cache/pypoetry/virtualenvs
Installing dependencies from lock file

Package operations: 61 installs, 0 updates, 0 removals

  • Installing certifi (2024.8.30)
  • Installing charset-normalizer (3.4.0)
  • Installing h11 (0.14.0)
  • Installing idna (3.10)
  • Installing protobuf (5.28.3)
  • Installing pyasn1 (0.6.1)
  • Installing sniffio (1.3.1)
  • Installing typing-extensions (4.12.2)
  • Installing urllib3 (2.2.3)
  • Installing annotated-types (0.7.0)
  • Installing anyio (4.6.2.post1)
  • Installing cachetools (5.5.0)
  • Installing googleapis-common-protos (1.65.0)
  • Installing grpcio (1.67.1)
  • Installing httpcore (1.0.6)
  • Installing pyasn1-modules (0.4.1)
  • Installing pydantic-core (2.23.4)
  • Installing pyparsing (3.2.0)
  • Installing requests (2.32.3)
  • Installing rsa (4.9)
  • Installing google-auth (2.35.0)
  • Installing grpcio-status (1.67.1)
  • Installing httplib2 (0.22.0)
  • Installing iniconfig (2.0.0)
  • Installing httpx (0.27.2)
  • Installing jsonpointer (3.0.0)
  • Installing orjson (3.10.10)
  • Installing packaging (24.1)
  • Installing pluggy (1.5.0)
  • Installing proto-plus (1.25.0)
  • Installing pydantic (2.9.2)
  • Installing requests-toolbelt (1.0.0)
  • Installing google-api-core (2.22.0)
  • Installing google-auth-httplib2 (0.2.0)
  • Installing jsonpatch (1.33)
  • Installing pytest (7.4.4)
  • Installing langsmith (0.1.138)
  • Installing pyyaml (6.0.2)
  • Installing six (1.16.0)
  • Installing tenacity (9.0.0)
  • Installing uritemplate (4.1.1)
  • Installing google-ai-generativelanguage (0.6.10)
  • Installing google-api-python-client (2.151.0)
  • Installing langchain-core (0.3.15 621f78b)
  • Installing mypy-extensions (1.0.0)
  • Installing syrupy (4.7.2)
  • Installing python-dateutil (2.9.0.post0)
  • Installing tqdm (4.66.6)
  • Installing watchdog (5.0.3)
  • Installing filetype (1.2.0)
  • Installing freezegun (1.5.1)
  • Installing langchain-tests (0.3.1)
  • Installing google-generativeai (0.8.3)
  • Installing numpy (1.26.4)
  • Installing mypy (1.13.0)
  • Installing pytest-asyncio (0.21.2)
  • Installing pytest-mock (3.14.0)
  • Installing pytest-watcher (0.3.5)
  • Installing types-google-cloud-ndb (2.3.0.20240813)
  • Installing types-protobuf (4.25.0.20240417)
  • Installing types-requests (2.32.0.20241016)
Installing /builder/home/.cache/pypoetry/virtualenvs/langchain-google-genai-G8ioShJx-py3.11/lib/python3.11/site-packages/google-stubs/METADATA.toml over existing file

Installing the current project: langchain-google-genai (2.0.6)
============================= test session starts ==============================
platform linux -- Python 3.11.11, pytest-7.4.4, pluggy-1.5.0
rootdir: /workspace/libs/genai
configfile: pyproject.toml
plugins: anyio-4.6.2.post1, mock-3.14.0, syrupy-4.7.2, asyncio-0.21.2
asyncio: mode=Mode.AUTO
collected 98 items

tests/integration_tests/test_callbacks.py .                              [  1%]
tests/integration_tests/test_chat_models.py ................x.....       [ 23%]
tests/integration_tests/test_compile.py .                                [ 24%]
tests/integration_tests/test_embeddings.py ..........                    [ 34%]
tests/integration_tests/test_function_call.py ...                        [ 37%]
tests/integration_tests/test_llms.py ......                              [ 43%]
tests/integration_tests/test_standard.py .......................xxxX.... [ 75%]
...................xxxX                                                  [ 98%]
tests/integration_tests/test_tools.py .                                  [100%]

=============================== warnings summary ===============================
tests/integration_tests/test_standard.py:13
  /workspace/libs/genai/tests/integration_tests/test_standard.py:13: LangChainBetaWarning: Introduced in 0.2.24. API subject to change.
    rate_limiter = InMemoryRateLimiter(requests_per_second=0.25)

tests/integration_tests/test_chat_models.py::test_chat_google_genai_single_call_with_history
  /workspace/libs/genai/tests/integration_tests/test_chat_models.py:240: LangChainDeprecationWarning: The method `BaseChatModel.__call__` was deprecated in langchain-core 0.1.7 and will be removed in 1.0. Use :meth:`~invoke` instead.
    response = model([message1, message2, message3])

tests/integration_tests/test_chat_models.py::test_chat_google_genai_system_message[models/gemini-1.0-pro-001-True]
  /workspace/libs/genai/langchain_google_genai/chat_models.py:310: UserWarning: Convert_system_message_to_human will be deprecated!
    warnings.warn("Convert_system_message_to_human will be deprecated!")

tests/integration_tests/test_chat_models.py::test_chat_function_calling_with_multiple_parts
  /workspace/libs/genai/tests/integration_tests/test_chat_models.py:346: LangChainDeprecationWarning: The method `BaseTool.__call__` was deprecated in langchain-core 0.1.47 and will be removed in 1.0. Use :meth:`~invoke` instead.
    tool_response = search("sparrow")

tests/integration_tests/test_llms.py::test_google_generativeai_call[gemini-pro]
  /workspace/libs/genai/tests/integration_tests/test_llms.py:27: LangChainDeprecationWarning: The method `BaseLLM.__call__` was deprecated in langchain-core 0.1.7 and will be removed in 1.0. Use :meth:`~invoke` instead.
    output = llm("Say foo:")

tests/integration_tests/test_standard.py::TestGeminiAIStandard::test_usage_metadata
tests/integration_tests/test_standard.py::TestGeminiAIStandard::test_usage_metadata_streaming
  /builder/home/.cache/pypoetry/virtualenvs/langchain-google-genai-G8ioShJx-py3.11/lib/python3.11/site-packages/proto/message.py:389: DeprecationWarning: The argument `including_default_value_fields` has been removed from
                  Protobuf 5.x. Please use `always_print_fields_with_no_presence` instead.
                  
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
XFAIL tests/integration_tests/test_chat_models.py::test_chat_function_calling_with_multiple_parts - on the model's side
XFAIL tests/integration_tests/test_standard.py::TestGeminiAI2Standard::test_structured_output_async - with_structured_output with JSON schema not supported.
XFAIL tests/integration_tests/test_standard.py::TestGeminiAI2Standard::test_structured_output - with_structured_output with JSON schema not supported.
XFAIL tests/integration_tests/test_standard.py::TestGeminiAI2Standard::test_structured_output_pydantic_2_v1 - with_structured_output with JSON schema not supported.
XFAIL tests/integration_tests/test_standard.py::TestGeminiAIStandard::test_structured_output_async - with_structured_output with JSON schema not supported.
XFAIL tests/integration_tests/test_standard.py::TestGeminiAIStandard::test_structured_output - with_structured_output with JSON schema not supported.
XFAIL tests/integration_tests/test_standard.py::TestGeminiAIStandard::test_structured_output_pydantic_2_v1 - with_structured_output with JSON schema not supported.
XPASS tests/integration_tests/test_standard.py::TestGeminiAI2Standard::test_bind_runnables_as_tools investigate
XPASS tests/integration_tests/test_standard.py::TestGeminiAIStandard::test_tool_message_histories_list_content Not yet supported
======= 89 passed, 7 xfailed, 2 xpassed, 7 warnings in 598.69s (0:09:58) =======
PUSH
DONE

Build Log: https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%2248d082e4-da95-42fb-8a91-5a89479e68bf%22+AND+resource.labels.build_trigger_id%3D%22cf0bf1b4-59b2-4ad2-9f4c-4866728a37b1%22&project=llm-integration-tests