-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dspy): Loosen pydantic version #807
Conversation
@thomasahle Would you anticipate any issues with this change? |
I could also cap at 2.7 |
@@ -82,7 +82,7 @@ keywords = ["dspy", "ai", "language models", "llm", "openai"] | |||
|
|||
[tool.poetry.dependencies] | |||
python = ">=3.9,<3.12" | |||
pydantic = ">=2.5.0,<=2.7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could use pydantic="^2.0"
which also ensures that it would be <3.0.0
. See https://python-poetry.org/docs/dependency-specification/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Thanks!
@isaacbmiller this merged PR has errors with pyproject.toml. can you take a look and fix it?
|
Oops. Thanks for catching. will follow up soon |
Loosen Pydantic version restriction to be >= 2.0
Reasoning is from #570