build(gemini): Dependency conflict between google-auth==2.41.1 and google-genai>=1.56.0 #936

Closed
opened 2026-02-16 10:21:03 -05:00 by yindo · 2 comments
Owner

Originally created by @WH-2099 on GitHub (Jan 14, 2026).

Originally assigned to: @WH-2099 on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.3

Plugin version

0.7.4

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

cd models/gemini
uv pip compile pyproject.toml -o ./requirements.txt

✔️ Error log

  × No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of google-genai are available:
          google-genai<=1.56.0
          google-genai==1.57.0
          google-genai==1.58.0
      and google-genai==1.57.0 depends on google-auth[requests]>=2.46.0, we can conclude that
      google-genai>1.56.0,<1.58.0 depends on google-auth[requests]>=2.46.0.
      And because google-genai==1.58.0 depends on google-auth[requests]>=2.47.0 and
      google-auth[requests]>=2.45.0, we can conclude that google-genai>=1.56.0 depends on google-auth>=2.45.0.
      And because gemini-g9cie8 depends on google-auth==2.41.1 and google-genai>=1.56.0, we can conclude that
      your requirements are unsatisfiable.
Originally created by @WH-2099 on GitHub (Jan 14, 2026). Originally assigned to: @WH-2099 on GitHub. ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.11.3 ### Plugin version 0.7.4 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce ```sh cd models/gemini uv pip compile pyproject.toml -o ./requirements.txt ``` ### ✔️ Error log ``` × No solution found when resolving dependencies: ╰─▶ Because only the following versions of google-genai are available: google-genai<=1.56.0 google-genai==1.57.0 google-genai==1.58.0 and google-genai==1.57.0 depends on google-auth[requests]>=2.46.0, we can conclude that google-genai>1.56.0,<1.58.0 depends on google-auth[requests]>=2.46.0. And because google-genai==1.58.0 depends on google-auth[requests]>=2.47.0 and google-auth[requests]>=2.45.0, we can conclude that google-genai>=1.56.0 depends on google-auth>=2.45.0. And because gemini-g9cie8 depends on google-auth==2.41.1 and google-genai>=1.56.0, we can conclude that your requirements are unsatisfiable. ```
yindo added the bug label 2026-02-16 10:21:03 -05:00
yindo closed this issue 2026-02-16 10:21:03 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 14, 2026):

Hi @WH-2099! I'm Dosu and I’m helping the dify-official-plugins team.

The conflict happens because google-genai versions >=1.56.0 require google-auth >=2.45.0, but the Gemini plugin's pyproject.toml pins google-auth to 2.41.1, which is too old to satisfy the dependency resolver. The repository's requirements.txt already uses google-auth==2.45.0 and google-genai==1.56.0, which resolves the conflict and works with the plugin code—there are no compatibility issues with this combination (source).

To fix the issue, update the google-auth pin in models/gemini/pyproject.toml to >=2.45.0 (or just remove the strict version pin), then re-run uv pip compile pyproject.toml -o ./requirements.txt. Downgrading google-genai below 1.56.0 is not supported by the current plugin configuration (source).

There are no existing patches or workarounds in the repo for this conflict—updating the google-auth version is the recommended and supported solution.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 14, 2026): <!-- Greeting --> Hi @WH-2099! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> The conflict happens because google-genai versions >=1.56.0 require google-auth >=2.45.0, but the Gemini plugin's pyproject.toml pins google-auth to 2.41.1, which is too old to satisfy the dependency resolver. The repository's requirements.txt already uses google-auth==2.45.0 and google-genai==1.56.0, which resolves the conflict and works with the plugin code—there are no compatibility issues with this combination [(source)](https://github.com/langgenius/dify-official-plugins/blob/be59106b36205aa551f4a653aed97cf282b14242/models/gemini/requirements.txt#L47-L58). To fix the issue, update the google-auth pin in models/gemini/pyproject.toml to >=2.45.0 (or just remove the strict version pin), then re-run `uv pip compile pyproject.toml -o ./requirements.txt`. Downgrading google-genai below 1.56.0 is not supported by the current plugin configuration [(source)](https://github.com/langgenius/dify-official-plugins/blob/be59106b36205aa551f4a653aed97cf282b14242/models/gemini/pyproject.toml#L9-L16). There are no existing patches or workarounds in the repo for this conflict—updating the google-auth version is the recommended and supported solution. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/7e9f7e9d-8755-40ae-924e-521613b7260f?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20conflict%20happens%20because%20google-genai%20versions%20%3E%3D1.56.0%20require%20google-auth%20%3E%3D2.45.0%2C%20but%20the%20Gemini%20plugin%27s%20pyproject.toml%20pins%20google-auth%20to%202.41.1%2C%20which%20is%20too%20old%20to%20satisfy%20the%20dependency%20resolver.%20The%20repository%27s%20requirements.txt%20already%20uses%20google-auth%3D%3D2.45.0%20and%20google-genai%3D%3D1.56.0%2C%20which%20resolves%20the%20conflict%20and%20works%20with%20the%20plugin%20code%E2%80%94there%20are%20no%20compatibility%20issues%20with%20this%20combination%20%5B%28source%29%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/be59106b36205aa551f4a653aed97cf282b14242/models/gemini/requirements.txt%23L47-L58%29.%0A%0ATo%20fix%20the%20issue%2C%20update%20the%20google-auth%20pin%20in%20models/gemini/pyproject.toml%20to%20%3E%3D2.45.0%20%28or%20just%20remove%20the%20strict%20version%20pin%29%2C%20then%20re-run%20%60uv%20pip%20compile%20pyproject.toml%20-o%20./requirements.txt%60.%20Downgrading%20google-genai%20below%201.56.0%20is%20not%20supported%20by%20the%20current%20plugin%20configuration%20%5B%28source%29%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/be59106b36205aa551f4a653aed97cf282b14242/models/gemini/pyproject.toml%23L9-L16%29.%0A%0AThere%20are%20no%20existing%20patches%20or%20workarounds%20in%20the%20repo%20for%20this%20conflict%E2%80%94updating%20the%20google-auth%20version%20is%20the%20recommended%20and%20supported%20solution.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/2426)
Author
Owner

@crazywoola commented on GitHub (Feb 3, 2026):

Hi @WH-2099, thanks for opening this issue.

Why this is being closed

Dify issue tracking requires English-only issue title and description for consistent collaboration.

Next steps

Please open a new issue in English and include clear details so maintainers can help efficiently.

Thanks for understanding and for your support.

@crazywoola commented on GitHub (Feb 3, 2026): Hi @WH-2099, thanks for opening this issue. ### Why this is being closed Dify issue tracking requires English-only issue title and description for consistent collaboration. ### Next steps Please open a new issue in English and include clear details so maintainers can help efficiently. Thanks for understanding and for your support.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#936