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

Check pydantic.VERSION in place of find_spec #1049

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Check pydantic.VERSION in place of find_spec #1049

merged 3 commits into from
Apr 26, 2024

Conversation

elliotgunton
Copy link
Collaborator

Pull Request Checklist

Description of PR
Currently, Hera is incompatible with pydantic==1.10.15 due to the v1 submodule alias being added in that patch. This PR changes the use of find_spec to instead check pydantic.VERSION.

@elliotgunton elliotgunton added semver:patch A change requiring a patch version bump type:bug A general bug labels Apr 26, 2024
Signed-off-by: Elliot Gunton <egunton@bloomberg.net>
Signed-off-by: Elliot Gunton <egunton@bloomberg.net>
@sambhav sambhav enabled auto-merge (squash) April 26, 2024 11:55
Signed-off-by: Elliot Gunton <egunton@bloomberg.net>
@sambhav sambhav merged commit 2e0112a into main Apr 26, 2024
20 checks passed
@sambhav sambhav deleted the fix-pydantic-v1 branch April 26, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatible with pydantic 1.10.15
2 participants