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",