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

upgrade to pydantic > 2 #124

Merged
merged 7 commits into from
Feb 12, 2024
Merged

Conversation

chrishavlin
Copy link
Collaborator

@chrishavlin chrishavlin commented Feb 9, 2024

switching to pydantic >= 2.0 after the napari updates.

Biggest changes are in the _gui_utilities magicgui/pydantic interoperability: was using a lot of pydantic features and fields there that were deprecated or removed entirely in 2.0.

@chrishavlin chrishavlin added the enhancement New feature or request label Feb 9, 2024
@chrishavlin chrishavlin linked an issue Feb 12, 2024 that may be closed by this pull request
Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2f53768) 99.68% compared to head (eeb2bbb) 99.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
- Coverage   99.68%   99.64%   -0.04%     
==========================================
  Files          31       31              
  Lines        2506     2542      +36     
==========================================
+ Hits         2498     2533      +35     
- Misses          8        9       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrishavlin chrishavlin merged commit e3afd9c into data-exp-lab:main Feb 12, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json load failing
1 participant