the dependencies package #5

Closed
opened 2026-02-15 21:15:15 -05:00 by yindo · 2 comments
Owner

Originally created by @XiaoBa-Yu on GitHub (Feb 19, 2025).

ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 5) and -r requirements.txt (line 6) because these package versions have conflicting dependencies.

The conflict is caused by:
dify-plugin 0.0.1b67 depends on pydantic~=2.8.2
gradio 5.10.0 depends on pydantic>=2.0
browser-use 0.1.37 depends on pydantic>=2.10.4

Please open scope of pydantic library

Originally created by @XiaoBa-Yu on GitHub (Feb 19, 2025). ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 5) and -r requirements.txt (line 6) because these package versions have conflicting dependencies. The conflict is caused by: dify-plugin 0.0.1b67 depends on pydantic~=2.8.2 gradio 5.10.0 depends on pydantic>=2.0 browser-use 0.1.37 depends on pydantic>=2.10.4 Please open scope of pydantic library
yindo closed this issue 2026-02-15 21:15:15 -05:00
Author
Owner

@dar0xt commented on GitHub (Feb 21, 2025):

I'm in the same situation.

@dar0xt commented on GitHub (Feb 21, 2025): I'm in the same situation.
Author
Owner

@Mairuis commented on GitHub (Dec 9, 2025):

Hi @XiaoBa-Yu @dar0xt,

This issue has been fixed in newer versions of the SDK.

The pydantic dependency constraint has been relaxed from pydantic~=2.8.2 to pydantic>=2.8.2, which allows compatibility with packages that require newer pydantic versions like browser-use.

Please upgrade to the latest version of dify-plugin:

pip install --upgrade dify-plugin

Closing this issue as resolved.

@Mairuis commented on GitHub (Dec 9, 2025): Hi @XiaoBa-Yu @dar0xt, This issue has been fixed in newer versions of the SDK. The pydantic dependency constraint has been relaxed from `pydantic~=2.8.2` to `pydantic>=2.8.2`, which allows compatibility with packages that require newer pydantic versions like `browser-use`. Please upgrade to the latest version of `dify-plugin`: ```bash pip install --upgrade dify-plugin ``` Closing this issue as resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#5