Skip to content

Migrate to pydantic version 2#372

Merged
stephen-riggs merged 23 commits intomainfrom
pydantic_v2
Jun 30, 2025
Merged

Migrate to pydantic version 2#372
stephen-riggs merged 23 commits intomainfrom
pydantic_v2

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

@codecov
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 54.34783% with 42 lines in your changes missing coverage. Please review.

Project coverage is 31.86%. Comparing base (060a5da) to head (1e73985).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #372   +/-   ##
=======================================
  Coverage   31.85%   31.86%           
=======================================
  Files          90       90           
  Lines       10726    10762   +36     
  Branches     1416     1422    +6     
=======================================
+ Hits         3417     3429   +12     
- Misses       7193     7215   +22     
- Partials      116      118    +2     
🚀 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
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.

Made corrections to a few missed spots, and it seems to be working now.

@stephen-riggs stephen-riggs merged commit fcd0d0b into main Jun 30, 2025
17 checks passed
@stephen-riggs stephen-riggs deleted the pydantic_v2 branch June 30, 2025 14:21
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