Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

feat: allow pydantic 2 #34

Merged
merged 1 commit into from
Jun 7, 2024
Merged

feat: allow pydantic 2 #34

merged 1 commit into from
Jun 7, 2024

Conversation

camillol
Copy link
Contributor

@camillol camillol commented Jun 6, 2024

Description

The project currently requires pydantic < 2, but it's actually compatible with Pydantic 2 now that Ormar supports it.

Related Issues

Checklist

  • This PR has sufficient documentation.
  • This PR has sufficient test coverage.
  • This PR title satisfies semantic convention.

Additional Comments

Should I update the README in this PR?

@camillol
Copy link
Contributor Author

camillol commented Jun 6, 2024

Looks like the tests break due to an outdated codecov requirement. Should I just update the requirements file?

@etimberg
Copy link
Collaborator

etimberg commented Jun 6, 2024

Looks like the tests break due to an outdated codecov requirement. Should I just update the requirements file?

If you can that would be great

@camillol
Copy link
Contributor Author

camillol commented Jun 6, 2024

I think #35 may be enough.

The setup currently specifies pydantic < 2, but this package can actually be used with Pydantic 2 now that Ormar supports it.
@camillol
Copy link
Contributor Author

camillol commented Jun 6, 2024

Ok, the tests are passing. Looks like there's some more jank in other CI steps.

@etimberg etimberg merged commit 2b612a8 into tophat:main Jun 7, 2024
5 of 7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider supporting Pydantic 2.0?
2 participants