This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new d176113630d Add Pydantic as dep for the Python Client (#50765)
d176113630d is described below
commit d176113630d6b7d4bc36511fe3f8cb013060d675
Author: Kaxil Naik <[email protected]>
AuthorDate: Mon May 19 18:32:46 2025 +0530
Add Pydantic as dep for the Python Client (#50765)
Python Client now need pydantic as we use the new version of the OpenAPI
python client generator:
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/python/requirements.mustache#L14
It was added in https://github.com/OpenAPITools/openapi-generator/pull/16624
---
clients/python/pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml
index 65dd1f2939d..c1f30445ada 100644
--- a/clients/python/pyproject.toml
+++ b/clients/python/pyproject.toml
@@ -50,8 +50,9 @@ classifiers = [
]
dependencies = [
+ "pydantic >= 2.11.0",
"python-dateutil",
- "urllib3 >= 2.1.0",
+ "urllib3 >= 1.25.3",
]
[project.urls]
@@ -65,7 +66,6 @@ Homepage = "https://airflow.apache.org/"
[tool.hatch.envs.test]
dependencies = [
"pytest-cov>=2.8.1",
- "urllib3 >= 2.1.0",
]
[tool.hatch.envs.test.scripts]