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

[#57] upgrade to pydantic v2 #58

Merged
merged 16 commits into from
Feb 19, 2024
Merged

[#57] upgrade to pydantic v2 #58

merged 16 commits into from
Feb 19, 2024

Conversation

pkdash
Copy link
Member

@pkdash pkdash commented Sep 19, 2023

NOTE: The 2 tests that are currently failing is due to this bug (hydroshare/hydroshare#5204) in hydroshare. There is a PR in hydroshare to fix this bug and should be fixed as part of release 2.11.

@sblack-usu
Copy link
Collaborator

There were a couple of changes I had to make to hydroshare for the upgrade, just updating from json/dict to model_dump/model_dump_json. There was also a formatting change with Url types that appends a / at the end of the urls. I'm running a PR build for the test suite now, it should wrap up in an hour or so and then we'll be good with merging and releasing hsmodels. http://ci.hydroshare.org:8080/job/hydroshare-pull-requests/7159/

@sblack-usu sblack-usu marked this pull request as ready for review February 15, 2024 15:57
@sblack-usu sblack-usu merged commit 712cf01 into master Feb 19, 2024
1 check failed
@sblack-usu sblack-usu deleted the 57-upgrade-to-pydantic-v2 branch February 19, 2024 20:02
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.

2 participants