-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: upgrade to pydantic 2.x #103
feat: upgrade to pydantic 2.x #103
Conversation
cfc9762
to
cc218d6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/2.0 #103 +/- ##
==============================================
Coverage ? 90.20%
==============================================
Files ? 13
Lines ? 694
Branches ? 163
==============================================
Hits ? 626
Misses ? 50
Partials ? 18 ☔ View full report in Codecov by Sentry. |
@cjdcordeiro Ready for review. |
cc218d6
to
567d54a
Compare
567d54a
to
6bea7cf
Compare
This is better suited for @cmatsuoka and @tigarmo to review (although at a quick glance, I don't have any major comments) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'm reluctant to put this in main
, I think we might add a feature/pydantic2
branch in this and the other libs to use as a temporary place to hold the work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made some minor suggestions, but we can pull this in as-is too. I've also targeted a new branch for all the changes we want to make in craft-archives 2.0.
@@ -7,7 +7,7 @@ dependencies = [ | |||
"lazr.restfulclient", | |||
"lazr.uri", | |||
"overrides", | |||
"pydantic<2.0.0", | |||
"pydantic>=2.0.0,<3.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"pydantic>=2.0.0,<3.0.0", | |
"pydantic~=2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
tox
?