mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
build(gemini): Dependency conflict between google-auth==2.41.1 and google-genai>=1.56.0
#936
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WH-2099 on GitHub (Jan 14, 2026).
Originally assigned to: @WH-2099 on GitHub.
Self Checks
Dify version
1.11.3
Plugin version
0.7.4
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
✔️ Error log
@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
@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.