Logo-amall

Hi all! I can see that `zenml` has a dependency on `pydantic 1.9.x`. Is there any particular reason for that pinning, or would it be safe to relax that dependency to `1.10.x`? Asking because `1.10.0` was the first release of `pydantic` that included full python 3.10 support (with the new nullable-type syntax `a: int | None` )

Last active 14 days ago

5 replies

6 views

  • JA

    Hi all! I can see that zenml has a dependency on pydantic 1.9.x. Is there any particular reason for that pinning, or would it be safe to relax that dependency to 1.10.x? Asking because 1.10.0 was the first release of pydantic that included full python 3.10 support (with the new nullable-type syntax a: int | None )

  • HA

    hey @javier.lopezpena, your PR will run some tests and we'll see if we can make that work

  • JA

    Perfect! Just wanted to make sure I wasn’t running head-first into a known issue :slightlysmilingface:

  • HA

    No no we just didnt check that version. I dont see any reason why it wouldnt work unless there was a weird breaking change

  • JA

    Nothing major. Following the update to 1.10 in our codebase we had a couple of mypy checks failing on some complex pydantic models, but that was due to stricter type-checking regarding implicit nulls and they were both trivial to fix.

Last active 14 days ago

5 replies

6 views