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

Pydantic v2 #269

Merged
merged 11 commits into from
Jan 5, 2024
Merged

Pydantic v2 #269

merged 11 commits into from
Jan 5, 2024

Conversation

d-chambers
Copy link
Member

This PR adds support for Pydantic V2. It also pins pydantic to < 3 so we don't have everything break again when that is released.

Also fixes the doc-build script, and slightly modifies the behavior of some station utilities related to fetching channel responses from info contained in a dataframe.

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8a1061d) 96.57% compared to head (a963167) 96.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #269      +/-   ##
==========================================
+ Coverage   96.57%   96.60%   +0.03%     
==========================================
  Files          44       44              
  Lines        4812     4797      -15     
  Branches      676      675       -1     
==========================================
- Hits         4647     4634      -13     
+ Misses        108      107       -1     
+ Partials       57       56       -1     
Flag Coverage Δ
unittests 96.60% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@d-chambers
Copy link
Member Author

A note on performance implications: On my Dell laptop it takes 59.5 seconds to run the test suite and on this branch it takes 61 seconds. Given non-determinism in the tests, its probably the same. At least there aren't any big performance digressions captured by the test suite.

@d-chambers d-chambers merged commit 17d7abd into master Jan 5, 2024
15 checks passed
@d-chambers d-chambers deleted the pydantic_v2 branch January 5, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant