Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
19 stars 4 forks source link

Bump Pydantic to 2.7.2 #476

Closed MaxTuecke closed 4 months ago

MaxTuecke commented 4 months ago

Fixes #228

Overview

Bumps pydantic from 1.10.13 to 2.7.2 Bumps mypy from 0.981 to 1.10.0

Discussion

Testing

All unit tests passing with no new warnings. Old gardens / entrypoints are still working with the new schemas.


📚 Documentation preview 📚: https://garden-ai--476.org.readthedocs.build/en/476/

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 90.29126% with 10 lines in your changes missing coverage. Please review.

Project coverage is 76.44%. Comparing base (cb448fb) to head (8515d7e). Report is 23 commits behind head on main.

Files with missing lines Patch % Lines
garden_ai/utils/pydantic.py 68.18% 7 Missing :warning:
garden_ai/scripts/save_session_and_metadata.py 0.00% 2 Missing :warning:
garden_ai/datacite.py 97.22% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #476 +/- ## ======================================= Coverage 76.43% 76.44% ======================================= Files 51 52 +1 Lines 3421 3452 +31 ======================================= + Hits 2615 2639 +24 - Misses 806 813 +7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.