From 1077cfc7d17d64e1b88e6a7a392409bb3a5be729 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 22 Aug 2023 04:38:58 -0700 Subject: [PATCH] Do not allow Pydantic 3 --- clients/python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml index 7e71f0e4..915ac7aa 100644 --- a/clients/python/pyproject.toml +++ b/clients/python/pyproject.toml @@ -12,7 +12,7 @@ repository = "https://github.com/huggingface/text-generation-inference" [tool.poetry.dependencies] python = "^3.7" -pydantic = ">1.10" +pydantic = "> 1.10, < 3" aiohttp = "^3.8" huggingface-hub = ">= 0.12, < 1.0"