From f8e14919957d3943ef29cd0811970723200fe96a Mon Sep 17 00:00:00 2001 From: Isaac To Date: Fri, 6 Sep 2024 13:25:46 -0700 Subject: [PATCH] Restrict pydantic to ~=2.9 Pydantic 2.8 doesn't have "core_schema.ComplexSchema" needed in the current code. Let's support Pydantic 2.8 only when needed --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 23ca2681..86d4be3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ python = "3.9" dependencies = [ "aind-data-schema>=0.38.6", "dandischema>=0.10.2", + "pydantic~=2.9", "pytest", "pytest-cov", "pytest-mock",