Skip to content

Commit 6cc918e

Browse files
Update google-genai requirement from ~=1.51.0 to >=1.51,<1.75 in /python (#13865)
Updates the requirements on [google-genai](https://github.com/googleapis/python-genai) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/googleapis/python-genai/releases">google-genai's releases</a>.</em></p> <blockquote> <h2>v1.74.0</h2> <h2><a href="https://github.com/googleapis/python-genai/compare/v1.73.1...v1.74.0">1.74.0</a> (2026-04-29)</h2> <h3>Features</h3> <ul> <li>[Interactions] Add FileCitation.{custom_metadata,media_id,page_number} (<a href="https://github.com/googleapis/python-genai/commit/aed41ecf4940f63446fc3e22744663be4d1057a6">aed41ec</a>)</li> <li>Add <code>output_info</code> to <code>BatchJob</code> (<a href="https://github.com/googleapis/python-genai/commit/7b77ab850283a2c55cb711084e8de6b6da5e589c">7b77ab8</a>)</li> <li>Add gemini-3.1-flash-tts-preview model to options (<a href="https://github.com/googleapis/python-genai/commit/8bdc1c353d987a5a18282fd2265950257891d308">8bdc1c3</a>)</li> <li>Add ImageResizeMode for GenerateVideos (<a href="https://github.com/googleapis/python-genai/commit/317d2af040adc7639c4464971d2a5ffa5e381402">317d2af</a>)</li> <li>Add new Gemini Deep Research agent models (<a href="https://github.com/googleapis/python-genai/commit/16fffbd3504e9c83c605410dc75914bf3bcaeedb">16fffbd</a>)</li> <li>Add one_of support to JSONSchema for Agent Platform (<a href="https://github.com/googleapis/python-genai/commit/8c00c524488250f25f497e47b495dcedb362da86">8c00c52</a>)</li> <li>Add Vertex Dataset input and output options for batch jobs (<a href="https://github.com/googleapis/python-genai/commit/d880f92a0631868d6cf86e30aa219a18305ad1a0">d880f92</a>)</li> <li><strong>interaction-api:</strong> Add grounding tool usage breakdown to Interaction Usage. (<a href="https://github.com/googleapis/python-genai/commit/b24fb5a1758499e3979cdcadfa734bfa7dd72c94">b24fb5a</a>)</li> <li>Introduce <code>enterprise</code> to Client constructor and <code>GOOGLE_GENAI_USE_ENTERPRISE</code> (<a href="https://github.com/googleapis/python-genai/commit/693fd9af1054fde006f76ea820b0c9066577b243">693fd9a</a>)</li> <li>Replace the more ambiguous rate field with sample_rate. (<a href="https://github.com/googleapis/python-genai/commit/88d9b4ad772ce75f21d44174f4679e994fcfca48">88d9b4a</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Catch google-auth wrapped errors (<a href="https://github.com/googleapis/python-genai/commit/48ac850fa06de2288e4d736f2f7349909c2a0727">48ac850</a>)</li> <li>Removing Python 3.9 support due to EOL (<a href="https://github.com/googleapis/python-genai/commit/8bc2b1028da7b94ed0baa31f89a1bf007aaa0bf8">8bc2b10</a>)</li> <li><strong>retry:</strong> Retry on httpx.TimeoutException with HttpRetryOptions (<a href="https://redirect.github.com/googleapis/python-genai/issues/2345">#2345</a>) (<a href="https://github.com/googleapis/python-genai/commit/0598bab551f40d852dcd4b4575be8dacec42f83e">0598bab</a>)</li> <li>Streaming method doesn't handle multi-line SSE (<a href="https://github.com/googleapis/python-genai/commit/f8a2e7ea8c39800aa0a6c50585de49c2c0d5f247">f8a2e7e</a>)</li> <li>Typing in <code>AsyncClient.__aexit__</code>, <code>__exit__</code>. (<a href="https://github.com/googleapis/python-genai/commit/a74dc6564e3409f9c45a1ec8456ed4386c3711c0">a74dc65</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add instruction for custom endpoint (<a href="https://github.com/googleapis/python-genai/commit/dd79904ed3a51fb53c43d4b01082556baf579759">dd79904</a>)</li> <li>Fix broken link for rate limits (<a href="https://github.com/googleapis/python-genai/commit/d22ea99dd4318c3bd47bfd6cb571bf9db3316922">d22ea99</a>)</li> <li>Regenerate docs for 1.73.1 (<a href="https://github.com/googleapis/python-genai/commit/2fb714b3fefa3a8972da57ef0675116b67e4808e">2fb714b</a>)</li> <li>Remove duplicate line in genai client docstring. (<a href="https://github.com/googleapis/python-genai/commit/b1c6026033fc753d1fcd474d8f63f254a876741c">b1c6026</a>)</li> <li>Replace Vertex AI with Gemini Enterprise Agent Platform (<a href="https://github.com/googleapis/python-genai/commit/7c1ecd586032a0546268ede3f115b2d25032ce12">7c1ecd5</a>)</li> <li>Update doc string to replace <code>Vertex AI</code> with <code>Gemini Enterprise Agent Platform</code>, update method error message to replace <code>Vertex AI</code> with <code>Gemini Enterprise Agent Platform (previously known as Vertex AI)</code>, update converter error message to replace <code>Vertex AI</code> with <code>Gemini Enterprise Agent Platform</code> (<a href="https://github.com/googleapis/python-genai/commit/413f0f9f1b5ff8bab9fd3675e9c450a4ddd29755">413f0f9</a>)</li> <li>Update Gemini Enterprise Agent Platform home page url (<a href="https://github.com/googleapis/python-genai/commit/b02cb95459375300c4e2acdef11a8ff0e8d5def6">b02cb95</a>)</li> <li>Update README.md with correct Pydantic link (<a href="https://github.com/googleapis/python-genai/commit/fa97cc6cf5bc955c1ff81da4e780fe0211648959">fa97cc6</a>)</li> <li>Update README.md with correct Pydantic link (<a href="https://github.com/googleapis/python-genai/commit/fa97cc6cf5bc955c1ff81da4e780fe0211648959">fa97cc6</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/googleapis/python-genai/blob/main/CHANGELOG.md">google-genai's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/googleapis/python-genai/compare/v1.73.1...v1.74.0">1.74.0</a> (2026-04-29)</h2> <h3>Features</h3> <ul> <li>[Interactions] Add FileCitation.{custom_metadata,media_id,page_number} (<a href="https://github.com/googleapis/python-genai/commit/aed41ecf4940f63446fc3e22744663be4d1057a6">aed41ec</a>)</li> <li>Add <code>output_info</code> to <code>BatchJob</code> (<a href="https://github.com/googleapis/python-genai/commit/7b77ab850283a2c55cb711084e8de6b6da5e589c">7b77ab8</a>)</li> <li>Add gemini-3.1-flash-tts-preview model to options (<a href="https://github.com/googleapis/python-genai/commit/8bdc1c353d987a5a18282fd2265950257891d308">8bdc1c3</a>)</li> <li>Add ImageResizeMode for GenerateVideos (<a href="https://github.com/googleapis/python-genai/commit/317d2af040adc7639c4464971d2a5ffa5e381402">317d2af</a>)</li> <li>Add new Gemini Deep Research agent models (<a href="https://github.com/googleapis/python-genai/commit/16fffbd3504e9c83c605410dc75914bf3bcaeedb">16fffbd</a>)</li> <li>Add one_of support to JSONSchema for Agent Platform (<a href="https://github.com/googleapis/python-genai/commit/8c00c524488250f25f497e47b495dcedb362da86">8c00c52</a>)</li> <li>Add Vertex Dataset input and output options for batch jobs (<a href="https://github.com/googleapis/python-genai/commit/d880f92a0631868d6cf86e30aa219a18305ad1a0">d880f92</a>)</li> <li><strong>interaction-api:</strong> Add grounding tool usage breakdown to Interaction Usage. (<a href="https://github.com/googleapis/python-genai/commit/b24fb5a1758499e3979cdcadfa734bfa7dd72c94">b24fb5a</a>)</li> <li>Introduce <code>enterprise</code> to Client constructor and <code>GOOGLE_GENAI_USE_ENTERPRISE</code> (<a href="https://github.com/googleapis/python-genai/commit/693fd9af1054fde006f76ea820b0c9066577b243">693fd9a</a>)</li> <li>Replace the more ambiguous rate field with sample_rate. (<a href="https://github.com/googleapis/python-genai/commit/88d9b4ad772ce75f21d44174f4679e994fcfca48">88d9b4a</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Catch google-auth wrapped errors (<a href="https://github.com/googleapis/python-genai/commit/48ac850fa06de2288e4d736f2f7349909c2a0727">48ac850</a>)</li> <li>Removing Python 3.9 support due to EOL (<a href="https://github.com/googleapis/python-genai/commit/8bc2b1028da7b94ed0baa31f89a1bf007aaa0bf8">8bc2b10</a>)</li> <li><strong>retry:</strong> Retry on httpx.TimeoutException with HttpRetryOptions (<a href="https://redirect.github.com/googleapis/python-genai/issues/2345">#2345</a>) (<a href="https://github.com/googleapis/python-genai/commit/0598bab551f40d852dcd4b4575be8dacec42f83e">0598bab</a>)</li> <li>Streaming method doesn't handle multi-line SSE (<a href="https://github.com/googleapis/python-genai/commit/f8a2e7ea8c39800aa0a6c50585de49c2c0d5f247">f8a2e7e</a>)</li> <li>Typing in <code>AsyncClient.__aexit__</code>, <code>__exit__</code>. (<a href="https://github.com/googleapis/python-genai/commit/a74dc6564e3409f9c45a1ec8456ed4386c3711c0">a74dc65</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add instruction for custom endpoint (<a href="https://github.com/googleapis/python-genai/commit/dd79904ed3a51fb53c43d4b01082556baf579759">dd79904</a>)</li> <li>Fix broken link for rate limits (<a href="https://github.com/googleapis/python-genai/commit/d22ea99dd4318c3bd47bfd6cb571bf9db3316922">d22ea99</a>)</li> <li>Regenerate docs for 1.73.1 (<a href="https://github.com/googleapis/python-genai/commit/2fb714b3fefa3a8972da57ef0675116b67e4808e">2fb714b</a>)</li> <li>Remove duplicate line in genai client docstring. (<a href="https://github.com/googleapis/python-genai/commit/b1c6026033fc753d1fcd474d8f63f254a876741c">b1c6026</a>)</li> <li>Replace Vertex AI with Gemini Enterprise Agent Platform (<a href="https://github.com/googleapis/python-genai/commit/7c1ecd586032a0546268ede3f115b2d25032ce12">7c1ecd5</a>)</li> <li>Update doc string to replace <code>Vertex AI</code> with <code>Gemini Enterprise Agent Platform</code>, update method error message to replace <code>Vertex AI</code> with <code>Gemini Enterprise Agent Platform (previously known as Vertex AI)</code>, update converter error message to replace <code>Vertex AI</code> with <code>Gemini Enterprise Agent Platform</code> (<a href="https://github.com/googleapis/python-genai/commit/413f0f9f1b5ff8bab9fd3675e9c450a4ddd29755">413f0f9</a>)</li> <li>Update Gemini Enterprise Agent Platform home page url (<a href="https://github.com/googleapis/python-genai/commit/b02cb95459375300c4e2acdef11a8ff0e8d5def6">b02cb95</a>)</li> <li>Update README.md with correct Pydantic link (<a href="https://github.com/googleapis/python-genai/commit/fa97cc6cf5bc955c1ff81da4e780fe0211648959">fa97cc6</a>)</li> <li>Update README.md with correct Pydantic link (<a href="https://github.com/googleapis/python-genai/commit/fa97cc6cf5bc955c1ff81da4e780fe0211648959">fa97cc6</a>)</li> </ul> <h2><a href="https://github.com/googleapis/python-genai/compare/v1.73.0...v1.73.1">1.73.1</a> (2026-04-14)</h2> <h3>Bug Fixes</h3> <ul> <li>Refactor Webhook types in GenAI SDKs for easier useage (<a href="https://github.com/googleapis/python-genai/commit/3f36ca11b30904c8f82dd3e7e3b59eff3bde6a3b">3f36ca1</a>)</li> <li>Rename <code>webhooks.retrieve</code> to <code>webhooks.get</code>. (<a href="https://github.com/googleapis/python-genai/commit/649f4b06d7bd78a23dd77b06713c6ca5c65321f9">649f4b0</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update python docs for 1.73.0 (<a href="https://github.com/googleapis/python-genai/commit/acd3767bff513524172ddd7726b147d01c245f1c">acd3767</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/googleapis/python-genai/commit/860c041810c6b37638ea23370d39c80364b5c99a"><code>860c041</code></a> chore(main): release 1.74.0 (<a href="https://redirect.github.com/googleapis/python-genai/issues/2285">#2285</a>)</li> <li><a href="https://github.com/googleapis/python-genai/commit/abcaa0d25da63a58c9ef96dac3b692c8396e5f42"><code>abcaa0d</code></a> chore: Fix usage examples of LocalTokenizer.</li> <li><a href="https://github.com/googleapis/python-genai/commit/b7e877129ee75e1fe824e2dc97e951a5ba5690cb"><code>b7e8771</code></a> chore: Add page number</li> <li><a href="https://github.com/googleapis/python-genai/commit/841301ee3901b34899a583939dfc28462d3db9d9"><code>841301e</code></a> chore: Adjust Webhook update to better reflect modifiable fields</li> <li><a href="https://github.com/googleapis/python-genai/commit/b24fb5a1758499e3979cdcadfa734bfa7dd72c94"><code>b24fb5a</code></a> feat(interaction-api): Add grounding tool usage breakdown to Interaction Usage.</li> <li><a href="https://github.com/googleapis/python-genai/commit/b1c6026033fc753d1fcd474d8f63f254a876741c"><code>b1c6026</code></a> docs: Remove duplicate line in genai client docstring.</li> <li><a href="https://github.com/googleapis/python-genai/commit/0598bab551f40d852dcd4b4575be8dacec42f83e"><code>0598bab</code></a> fix(retry): retry on httpx.TimeoutException with HttpRetryOptions (<a href="https://redirect.github.com/googleapis/python-genai/issues/2345">#2345</a>)</li> <li><a href="https://github.com/googleapis/python-genai/commit/f8a2e7ea8c39800aa0a6c50585de49c2c0d5f247"><code>f8a2e7e</code></a> fix: Streaming method doesn't handle multi-line SSE</li> <li><a href="https://github.com/googleapis/python-genai/commit/8bc2b1028da7b94ed0baa31f89a1bf007aaa0bf8"><code>8bc2b10</code></a> fix: Removing Python 3.9 support due to EOL</li> <li><a href="https://github.com/googleapis/python-genai/commit/ab5e3283bed8a3c1502c9486f68848a1d5e821a0"><code>ab5e328</code></a> chore: internal change</li> <li>Additional commits viewable in <a href="https://github.com/googleapis/python-genai/compare/v1.51.0...v1.74.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 479f944 commit 6cc918e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ faiss = [
8888
]
8989
google = [
9090
"google-cloud-aiplatform>=1.114,<1.134",
91-
"google-genai ~= 1.51.0"
91+
"google-genai >= 1.51,< 1.75"
9292
]
9393
hugging_face = [
9494
"transformers[torch] ~= 4.28",

0 commit comments

Comments
 (0)