From fc52d7d127975097734217888c133923a9c4a5ec Mon Sep 17 00:00:00 2001 From: GPK Date: Fri, 22 Nov 2024 00:34:21 +0000 Subject: [PATCH] Restrict pydantic 2.10.0 (#44249) * restrict pydantic 2.10.0 * Update hatch_build.py Co-authored-by: Jarek Potiuk --------- Co-authored-by: Jarek Potiuk --- hatch_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hatch_build.py b/hatch_build.py index 03678fde3183a..8e5ea3dbad7d6 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -414,7 +414,8 @@ 'pendulum>=3.0.0,<4.0;python_version>="3.12"', "pluggy>=1.5.0", "psutil>=5.8.0", - "pydantic>=2.7.0", + # https://github.com/pydantic/pydantic/issues/10910 + "pydantic>=2.7.0,!=2.10.0", "pygments>=2.0.1", "pyjwt>=2.0.0", "python-daemon>=3.0.0",