Skip to content

Migrate to pydantic version 2 #372

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

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Migrate to pydantic version 2 #372

wants to merge 16 commits into from

Conversation

stephen-riggs
Copy link
Contributor

This implements the changes needed for pydantic 2.

In doing this, we also upgrade to sqlalchemy 2, so one change has also been made for that.

Also this removes the procrunner dependency in favour of directly calling subprocess.

Before merging this we need to be able to run MSYS2 or a similar rust-compatible terminal on the microscopes.

Closes #315

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 63.26531% with 18 lines in your changes missing coverage. Please review.

Project coverage is 31.75%. Comparing base (bbdeaf3) to head (613244a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
- Coverage   31.80%   31.75%   -0.06%     
==========================================
  Files          90       90              
  Lines       10750    10752       +2     
  Branches     1423     1423              
==========================================
- Hits         3419     3414       -5     
- Misses       7216     7223       +7     
  Partials      115      115              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@tieneupin tieneupin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@stephen-riggs stephen-riggs requested a review from tieneupin June 16, 2025 09:32
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 Pydantic 2
2 participants