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

Pydantic v2 upgrade #13

Merged
merged 5 commits into from
Jan 26, 2024
Merged

Pydantic v2 upgrade #13

merged 5 commits into from
Jan 26, 2024

Conversation

mmkay
Copy link
Contributor

@mmkay mmkay commented Jan 26, 2024

This PR adds support for pydantic v2 in pytest-interface-tester. As pydantic v2 has backward incompatibilities, a couple of changes were needed. It also looks like we don't need to trigger pydantic.class_validators._FUNCS.clear() anymore.

Resolves #12

Copy link
Collaborator

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Copy link
Collaborator

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice!

@PietroPasotti PietroPasotti merged commit 50cd086 into canonical:main Jan 26, 2024
2 checks passed
@mmkay mmkay deleted the pydantic-v2-upgrade branch January 26, 2024 14:43
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.

Add pydantic v2 support
2 participants