This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun 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 741276c6c6 Update min version of Pydantic to 2.6.4 (#42694)
741276c6c6 is described below
commit 741276c6c649c2b05816813a4357c1f1fe37f587
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Oct 3 03:00:54 2024 -0700
Update min version of Pydantic to 2.6.4 (#42694)
Pydantic 2.6.4 fixes problem with AliasGenerator to throw error when
generating schema - see an issue in Pydantic repository
https://github.com/pydantic/pydantic/issues/8768
---
airflow/providers/edge/provider.yaml | 2 +-
generated/provider_dependencies.json | 2 +-
hatch_build.py | 2 +-
newsfragments/41857.significant.rst | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/airflow/providers/edge/provider.yaml
b/airflow/providers/edge/provider.yaml
index 6525b7bb84..d6644271a0 100644
--- a/airflow/providers/edge/provider.yaml
+++ b/airflow/providers/edge/provider.yaml
@@ -30,7 +30,7 @@ versions:
dependencies:
- apache-airflow>=2.10.0
- - pydantic>=2.3.0
+ - pydantic>=2.6.4
plugins:
- name: edge_executor
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 59da56f180..7dc5e33729 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -525,7 +525,7 @@
"edge": {
"deps": [
"apache-airflow>=2.10.0",
- "pydantic>=2.3.0"
+ "pydantic>=2.6.4"
],
"devel-deps": [],
"plugins": [
diff --git a/hatch_build.py b/hatch_build.py
index 6e3d77981e..765e71ff98 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -467,7 +467,7 @@ DEPENDENCIES = [
'pendulum>=3.0.0,<4.0;python_version>="3.12"',
"pluggy>=1.5.0",
"psutil>=5.8.0",
- "pydantic>=2.6.0",
+ "pydantic>=2.6.4",
"pygments>=2.0.1",
"pyjwt>=2.0.0",
"python-daemon>=3.0.0",
diff --git a/newsfragments/41857.significant.rst
b/newsfragments/41857.significant.rst
index df3c85853e..f0b06f2811 100644
--- a/newsfragments/41857.significant.rst
+++ b/newsfragments/41857.significant.rst
@@ -1,3 +1,3 @@
**Breaking Change**
-Airflow core now depends on ``pydantic>=2.3.0``. If you have Pydantic v1
installed, please upgrade.
+Airflow core now depends on Pydantic v2. If you have Pydantic v1 installed,
please upgrade.