Skip to content

Require pydantic 1.x #113

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

Merged
merged 1 commit into from
Jul 4, 2023
Merged

Require pydantic 1.x #113

merged 1 commit into from
Jul 4, 2023

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Jul 4, 2023

Resolves #112

Pydantic 2.0 was released a few days ago, with breaking changes for this library.

This PR updates the dependency requirements for this package to disallow pydantic>=2. This provides a short-term fix that will be pushed out in a patch version.

In the longer term, my intention is to update this library to support both 1.x and 2.x.

Signed-off-by: Mattt Zmuda <[email protected]>
@mattt mattt merged commit aa61aca into main Jul 4, 2023
@mattt mattt deleted the mattt/pydantic-requirements branch July 4, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"error 3 validation errors for Prediction" when running "replicate.run()"
1 participant