dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Upgrade pydantic to ^2.6

Open mwildehahn opened this issue 1 year ago • 5 comments
trafficstars

The project is pinned to pydantic 2.5.0. Any reason it can't be upgraded to the latest version ^2.6?

mwildehahn avatar Mar 06 '24 05:03 mwildehahn

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

isaacbmiller avatar Mar 06 '24 05:03 isaacbmiller

Yes, I fixed those tests. I'm happy to upgrade pydantic if the tests pass.

thomasahle avatar Mar 06 '24 10:03 thomasahle

👀 I'm also needing pydnatic at 2.6 so that I can generate an OpenApi 3.1 spec

nlaffey avatar Apr 06 '24 17:04 nlaffey

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?

thomasahle avatar Apr 08 '24 20:04 thomasahle

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.

Shakakai avatar Apr 11 '24 19:04 Shakakai