From f6ae7c7804cb75a9ba115bed0ae397804687d692 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 6 Aug 2025 11:14:13 +0200 Subject: [PATCH] Set minimum version for common.messaging to 1.0.3 (#54160) The #51774 changed the important way how intialization is done, it was causing circular imports in case it was imported directly. This PR changes minimum version of common messaging for all providers using it and generally for core airflow. (cherry picked from commit 9cc07176418e90f4e1a1eb5770f56d26972d0674) --- providers/amazon/pyproject.toml | 2 +- pyproject.toml | 4 ++-- scripts/ci/pre_commit/update_airflow_pyproject_toml.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/providers/amazon/pyproject.toml b/providers/amazon/pyproject.toml index 08d2201fa42f9..21ba7b1673e7c 100644 --- a/providers/amazon/pyproject.toml +++ b/providers/amazon/pyproject.toml @@ -144,7 +144,7 @@ dependencies = [ "apache-airflow-providers-standard" ] "common.messaging" = [ - "apache-airflow-providers-common-messaging>=1.0.1" + "apache-airflow-providers-common-messaging>=1.0.3" ] [dependency-groups] diff --git a/pyproject.toml b/pyproject.toml index a2f13859f9014..d853dc37d5b42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -176,7 +176,7 @@ packages = [] "apache-airflow-providers-common-io>=1.4.2" ] "common.messaging" = [ - "apache-airflow-providers-common-messaging>=1.0.1" # Set from MIN_VERSION_OVERRIDE in update_airflow_pyproject_toml.py + "apache-airflow-providers-common-messaging>=1.0.3" # Set from MIN_VERSION_OVERRIDE in update_airflow_pyproject_toml.py ] "common.sql" = [ "apache-airflow-providers-common-sql>=1.18.0" @@ -407,7 +407,7 @@ packages = [] "apache-airflow-providers-cohere>=1.4.0", "apache-airflow-providers-common-compat>=1.2.1", "apache-airflow-providers-common-io>=1.4.2", - "apache-airflow-providers-common-messaging>=1.0.1", # Set from MIN_VERSION_OVERRIDE in update_airflow_pyproject_toml.py + "apache-airflow-providers-common-messaging>=1.0.3", # Set from MIN_VERSION_OVERRIDE in update_airflow_pyproject_toml.py "apache-airflow-providers-common-sql>=1.18.0", "apache-airflow-providers-databricks>=6.11.0", "apache-airflow-providers-datadog>=3.8.0", diff --git a/scripts/ci/pre_commit/update_airflow_pyproject_toml.py b/scripts/ci/pre_commit/update_airflow_pyproject_toml.py index 9a511a80298df..4e95cabd422af 100755 --- a/scripts/ci/pre_commit/update_airflow_pyproject_toml.py +++ b/scripts/ci/pre_commit/update_airflow_pyproject_toml.py @@ -59,7 +59,7 @@ "fab": parse_version("2.2.0"), "openlineage": parse_version("2.3.0"), "git": parse_version("0.0.2"), - "common.messaging": parse_version("1.0.1"), + "common.messaging": parse_version("1.0.3"), }