dspy
dspy copied to clipboard
Upgrade pydantic to ^2.6
The project is pinned to pydantic 2.5.0. Any reason it can't be upgraded to the latest version ^2.6?
There used to be tests with the pydantic version name in them, but those seem to have been removed. IMO good to upgrade but I would defer to @thomasahle
Yes, I fixed those tests. I'm happy to upgrade pydantic if the tests pass.
👀 I'm also needing pydnatic at 2.6 so that I can generate an OpenApi 3.1 spec
Yes, I don't see any reason to now upgrade. I don't think we are using any newer features though, so maybe we can just put the requirement pydantic >= 2.0?
Yes, I don't see any reason to now upgrade. I don't think we are using any newer features though, so maybe we can just put the requirement
pydantic >= 2.0?
Yeah, just want to say that I'd really appreciate if the version wasn't pinned to 2.5.0 but allowed for a range of versions pydantic >= 2.5.0. I can only use the library in side projects because of that pinned version requirement. Everything I use these days relies on pydantic.