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 v1/v2 compatibility #232

Merged
merged 16 commits into from Jan 19, 2024
Merged

Pydantic v1/v2 compatibility #232

merged 16 commits into from Jan 19, 2024

Conversation

mattwthompson
Copy link
Member

@mattwthompson mattwthompson commented Aug 16, 2023

Description

This PR adds runtime compatibility with Pydantic v2, though does not take advantage of any new features.

Todos

Notable points that this PR has either accomplished or will accomplish.

  • Test on Pydantic v2
  • Update test pins

Status

  • Needs new QCPortal
  • Ready to go

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #232 (1fb4046) into main (1e88b4d) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

@j-wags
Copy link
Member

j-wags commented Aug 16, 2023

I heard from the MolSSI folks that there is no plan to add pydantic 2 compatibility to the legacy QC stack, but that the upcoming major releases of the QC stack will only support pydantic 2. Could you retarget this PR to QCSubmit's next branch?

@mattwthompson
Copy link
Member Author

Revisiting this now with QCFractal 0.52 including v1/v2 dual-compatibility.

@mattwthompson
Copy link
Member Author

The new QCPortal should work v1/v2, but the builds are pinned to v1

conda-forge/qcfractal-feedstock#45

@mattwthompson mattwthompson marked this pull request as ready for review January 2, 2024 18:26
@j-wags j-wags self-requested a review January 5, 2024 19:17
Copy link
Member

@j-wags j-wags left a comment

Choose a reason for hiding this comment

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

Awesome, thanks @mattwthompson. One blocking comment, and please update the releasenotes before merging!

.github/workflows/CI.yml Outdated Show resolved Hide resolved
@mattwthompson mattwthompson merged commit b347993 into main Jan 19, 2024
10 checks passed
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.

None yet

2 participants