From 8e60774faa8fadfc2e1a20b14e7c28c829144c2a Mon Sep 17 00:00:00 2001 From: Pavan Kumar Date: Thu, 21 Nov 2024 14:23:46 +0000 Subject: [PATCH 1/2] restrict pydantic 2.10.0 --- hatch_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hatch_build.py b/hatch_build.py index 03678fde3183a..8635dc479853f 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", + "pydantic>=2.7.0,!=2.10.0", + # https://github.com/pydantic/pydantic/issues/10910 "pygments>=2.0.1", "pyjwt>=2.0.0", "python-daemon>=3.0.0", From 8e288bff27aeb60155790468543dd0b130fe35dc Mon Sep 17 00:00:00 2001 From: GPK Date: Thu, 21 Nov 2024 16:15:55 +0000 Subject: [PATCH 2/2] Update hatch_build.py Co-authored-by: Jarek Potiuk --- hatch_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hatch_build.py b/hatch_build.py index 8635dc479853f..8e5ea3dbad7d6 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -414,8 +414,8 @@ 'pendulum>=3.0.0,<4.0;python_version>="3.12"', "pluggy>=1.5.0", "psutil>=5.8.0", - "pydantic>=2.7.0,!=2.10.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",