Skip to content

Upgrade to Pydantic 2 - #564

Merged
ZohebShaikh merged 8 commits into
mainfrom
273-pydantic-2
Aug 20, 2024
Merged

ZohebShaikh merged 8 commits into
mainfrom
273-pydantic-2

Conversation

@callumforrester

Copy link
Copy Markdown
Contributor

Fixes #273

Supersedes #449

Currently scanspec is spoofed, we need bluesky/scanspec#122 merged before we can revert.

@codecov

codecov Bot commented Aug 13, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 96.96970% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.97%. Comparing base (fd41e57) to head (ba38a8a).
Report is 1 commits behind head on main.

Files Patch % Lines
src/blueapi/core/context.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #564      +/-   ##
==========================================
+ Coverage   92.84%   92.97%   +0.12%     
==========================================
  Files          40       40              
  Lines        1818     1823       +5     
==========================================
+ Hits         1688     1695       +7     
+ Misses        130      128       -2     

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

@ZohebShaikh
ZohebShaikh force-pushed the 273-pydantic-2 branch 3 times, most recently from 709a960 to 664eae7 Compare August 13, 2024 12:52
@ZohebShaikh
ZohebShaikh marked this pull request as ready for review August 13, 2024 14:04
Comment thread pyproject.toml Resolved
Comment thread src/blueapi/service/main.py Resolved
Comment thread src/blueapi/cli/format.py Resolved
Comment thread dev-requirements.txt Resolved
Comment thread src/blueapi/core/context.py Resolved
Comment thread src/blueapi/utils/base_model.py Resolved
Comment thread tests/service/test_openapi.py Resolved
Comment thread tests/test_cli.py Resolved
Comment thread dev-requirements.txt Resolved
Comment thread dev-requirements.txt Resolved
@ZohebShaikh
ZohebShaikh merged commit 8217396 into main Aug 20, 2024
@ZohebShaikh
ZohebShaikh deleted the 273-pydantic-2 branch August 20, 2024 12:36
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.

Update to Pydantic2

3 participants