mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
Update pydantic-settings version #26
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 @meme-dayo on GitHub (Apr 7, 2025).
My problem
The latest mcp python module requires
pydantic_settings>=2.5.2https://github.com/modelcontextprotocol/python-sdk
Other related issue:
Suggestion
pyproject.toml
The
pydanticversion been updated since 0.0.1-beta75 release. (Commits on Mar 25, 2025)chore: update dependency constraint for pydantic
However,
pydantic-settingsversion remains unchanged.pydantic-settings~=2.3.4is no longer compatible withpydantic>=2.8.2Why
>=2.5.0( instead of>=2.3.4)✅I checked the pydantic-settings releases and found that pydantic_settings v2.5.0+ only supports
pydantic>=2.8.2.https://github.com/pydantic/pydantic-settings/compare/v2.4.0...v2.5.0
Pull request
✅ I forked the repository and created a branch named
chore/update-pydantic-settings-version.⚠️My pull request also includes an updated
pdm.lock.