feat: support Pydantic2 (as well as Pydantic1)#570
Merged
tlambert03 merged 15 commits intopyapp-kit:mainfrom Aug 6, 2023
Merged
feat: support Pydantic2 (as well as Pydantic1)#570tlambert03 merged 15 commits intopyapp-kit:mainfrom
tlambert03 merged 15 commits intopyapp-kit:mainfrom
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #570 +/- ##
==========================================
- Coverage 89.73% 89.05% -0.69%
==========================================
Files 37 38 +1
Lines 4422 4466 +44
==========================================
+ Hits 3968 3977 +9
- Misses 454 489 +35
☔ View full report in Codecov by Sentry. |
Contributor
|
@tlambert03 Just for casual observers it might be soothing to rename this PR to "Support both Pydantic v1 and v2" 😅 |
Member
Author
|
surely you don't think the guy who tried to raise the alarm bells about the dangers of hard-pinned pydantic2 requirements would just move to pydantic2 in a package that napari uses! 😅 |
updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.0.281](astral-sh/ruff-pre-commit@v0.0.276...v0.0.281) - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.