This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-11-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-11-test by this push:
     new 70ecd4bde7e Limit Celery Provider to not install 3.17.0 as it breaks 
airflow 2.11 (#63046)
70ecd4bde7e is described below

commit 70ecd4bde7edc291cfeb6ad9f1ccab6e389160c9
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Mar 8 07:19:13 2026 +0100

    Limit Celery Provider to not install 3.17.0 as it breaks airflow 2.11 
(#63046)
    
    See #63043
---
 hatch_build.py                                   | 6 ++++--
 scripts/in_container/run_generate_constraints.py | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/hatch_build.py b/hatch_build.py
index a1f207c7724..8b6a0d05395 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -753,9 +753,11 @@ def get_python_exclusion(excluded_python_versions: 
list[str]):
 
 def get_provider_exclusion(normalized_provider_name: str):
     if normalized_provider_name == "celery":
-        # This version of celery provider breaks Airflow 2.11.1
+        # The 3.16.0 version of celery provider breaks Airflow 2.11.*
         # 
https://github.com/apache/airflow/issues/61766#issuecomment-3902002494
-        return "!=3.16.0"
+        # Also 3.17.0 breaks Airflow 2.11.*
+        # https://github.com/apache/airflow/issues/63043
+        return "!=3.16.0,!=3.17.0"
     return ""
 
 
diff --git a/scripts/in_container/run_generate_constraints.py 
b/scripts/in_container/run_generate_constraints.py
index 39941771be7..33756503a39 100755
--- a/scripts/in_container/run_generate_constraints.py
+++ b/scripts/in_container/run_generate_constraints.py
@@ -380,9 +380,9 @@ def generate_constraints_pypi_providers(config_params: 
ConfigParams) -> None:
             console.print("[green]OK")
             if provider_package == "apache-airflow-providers-celery":
                 console.print(
-                    "[yellow]Excluding celery provider 3.16.0 as it does not 
work with Airflow 2.11."
+                    "[yellow]Excluding celery provider 3.16.0 and 3.17.0 as 
they does not work with Airflow 2.11."
                 )
-                provider_package = f"{provider_package}!=3.16.0"
+                provider_package = f"{provider_package}!=3.16.0,!=3.17.0"
             packages_to_install.append(provider_package)
         else:
             console.print("[yellow]NOK. Skipping.")

Reply via email to