From 8a87820f49c166e516ecb0d77090d64ba342ac83 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 7 Apr 2025 15:10:39 +0200 Subject: [PATCH 1/2] python: Fix minimum version for pydantic We are using ModelWrapValidatorHandler, which was introduced in 2.10 --- python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index 159a75a8f..5c45369a2 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -4,4 +4,4 @@ urllib3 >= 1.25.3 Deprecated >= 1.2.13 types-deprecated >= 1.2.5 types-python-dateutil >= 2.8.9 -pydantic >= 2 \ No newline at end of file +pydantic >= 2.10 From 253969e7055bbcb3eb5ae15fa29fd4435c688267 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 7 Apr 2025 15:11:03 +0200 Subject: [PATCH 2/2] python: Add maximum versions to requirements.txt --- python/requirements.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python/requirements.txt b/python/requirements.txt index 5c45369a2..cf05c2ee3 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,7 +1,7 @@ -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.25.3 -Deprecated >= 1.2.13 -types-deprecated >= 1.2.5 -types-python-dateutil >= 2.8.9 -pydantic >= 2.10 +python_dateutil>=2.5.3,<3 +setuptools>=21.0.0,<22 +urllib3>=1.25.3,<2 +Deprecated>=1.2.13,<2 +types-deprecated>=1.2.5,<2 +types-python-dateutil>=2.8.9,<3 +pydantic>=2.10,<3