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

potiuk 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 a370e11a42a remove deprecation (#56835)
a370e11a42a is described below

commit a370e11a42a7aeaa1ce5b44d34fa2d7a5be59d8b
Author: Kalyan R <[email protected]>
AuthorDate: Sun Oct 19 11:09:37 2025 +0530

    remove deprecation (#56835)
---
 .../providers/celery/executors/celery_executor_utils.py     | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git 
a/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
 
b/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
index 8ccbc9b56dd..9e02f2c5d55 100644
--- 
a/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
+++ 
b/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
@@ -29,7 +29,6 @@ import os
 import subprocess
 import sys
 import traceback
-import warnings
 from collections.abc import Collection, Mapping, MutableMapping, Sequence
 from concurrent.futures import ProcessPoolExecutor
 from typing import TYPE_CHECKING, Any
@@ -42,7 +41,7 @@ from sqlalchemy import select
 
 import airflow.settings as settings
 from airflow.configuration import conf
-from airflow.exceptions import AirflowException, 
AirflowProviderDeprecationWarning, AirflowTaskTimeout
+from airflow.exceptions import AirflowException, AirflowTaskTimeout
 from airflow.executors.base_executor import BaseExecutor
 from airflow.providers.celery.version_compat import AIRFLOW_V_3_0_PLUS, timeout
 from airflow.stats import Stats
@@ -100,16 +99,6 @@ def _get_celery_app() -> Celery:
         celery_configuration = DEFAULT_CELERY_CONFIG
 
     celery_app_name = conf.get("celery", "CELERY_APP_NAME")
-    if celery_app_name == "airflow.executors.celery_executor":
-        warnings.warn(
-            "The celery.CELERY_APP_NAME configuration uses deprecated package 
name: "
-            "'airflow.executors.celery_executor'. "
-            "Change it to 
`airflow.providers.celery.executors.celery_executor`, and "
-            "update the `-app` flag in your Celery Health Checks "
-            "to use `airflow.providers.celery.executors.celery_executor.app`.",
-            AirflowProviderDeprecationWarning,
-            stacklevel=2,
-        )
 
     return Celery(celery_app_name, config_source=celery_configuration)
 

Reply via email to