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

fix: fix pydantic smart union in older versions, and add minreqs test #178

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

tlambert03
Copy link
Member

found an issue with the smart union on MDASequnce.grid_plan: MultiPointPlan ... @fdrgsp, this may be related to the bug you were seeing ... but not sure. it was working only on pydantic 2.8+
this should fix back to 2.2, and adds a tests for that

Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.90%. Comparing base (5801ee6) to head (f05dfb1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #178   +/-   ##
=======================================
  Coverage   95.90%   95.90%           
=======================================
  Files          16       16           
  Lines        1075     1075           
=======================================
  Hits         1031     1031           
  Misses         44       44           

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

@tlambert03 tlambert03 merged commit 19cc774 into pymmcore-plus:main Jul 8, 2024
25 of 26 checks passed
@tlambert03 tlambert03 deleted the fix-pydantic-union branch July 8, 2024 17:43
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