Skip to content
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

build(python): Set minimum version for pydantic to 2.0.0 #10923

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Sep 5, 2023

Tests don't run with the older version.

@github-actions github-actions bot added build Changes that affect the build system or external dependencies python Related to Python Polars labels Sep 5, 2023
@stinodego stinodego merged commit 3ce2e9d into main Sep 5, 2023
13 checks passed
@stinodego stinodego deleted the pydantic-min-version branch September 5, 2023 12:08
@ritchie46
Copy link
Member

@stinodego would it be a lot of hassle to revert this and fix the tests? A lot of polars users were using patito and that is build around pydantic 1.0.

@stinodego
Copy link
Member Author

stinodego commented Sep 6, 2023

No hassle, I'll revert this.

We can require pydantic >= 2.0.0 in our dev dependencies to make our tests run. We don't necessarily need this for our main code base, I guess.

I'll watch patito's progress on implementing pydantic v2, and re-add this version requirement when it's done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes that affect the build system or external dependencies python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants