From b3ba7780954d66fdef539f771aead68f66c8e0f9 Mon Sep 17 00:00:00 2001 From: Jimmy Shen <14003693+jmmshn@users.noreply.github.com> Date: Mon, 10 Jul 2023 16:16:23 -0700 Subject: [PATCH] Update setup.py Avoid installing pydantic 2 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f0c60dab2..9d5e6f67d 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,8 @@ include_package_data=True, install_requires=[ "setuptools", - "pydantic", + "pydantic<=1.10.11", + "pydantic>=0.32.2", "pymongo>=4.2.0", "monty>=1.0.2", "mongomock>=3.10.0", @@ -37,7 +38,6 @@ "mongogrant>=0.3.1", "aioitertools>=0.5.1", "numpy>=1.17.3", - "pydantic>=0.32.2", "fastapi>=0.42.0", "pyzmq==24.0.1", "dnspython>=1.16.0",