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

jscheffl 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 a8601c7cf68 Remove Airflow 3 Deprecation Warning in Google Provider, 
Move to Private Warning (#46599)
a8601c7cf68 is described below

commit a8601c7cf686745f888a1124025967ba7723ec94
Author: Jens Scheffler <[email protected]>
AuthorDate: Sun Feb 9 19:35:26 2025 +0100

    Remove Airflow 3 Deprecation Warning in Google Provider, Move to Private 
Warning (#46599)
    
    * Remove Airflow 3 Deprecation Warning in Google Provoder, Move to Private 
Warning
    
    * Review feedback
---
 .../airflow/providers/google/cloud/log/stackdriver_task_handler.py    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/providers/google/src/airflow/providers/google/cloud/log/stackdriver_task_handler.py
 
b/providers/google/src/airflow/providers/google/cloud/log/stackdriver_task_handler.py
index e1d4c3e3e76..a03acf73846 100644
--- 
a/providers/google/src/airflow/providers/google/cloud/log/stackdriver_task_handler.py
+++ 
b/providers/google/src/airflow/providers/google/cloud/log/stackdriver_task_handler.py
@@ -25,7 +25,7 @@ from functools import cached_property
 from typing import TYPE_CHECKING
 from urllib.parse import urlencode
 
-from airflow.exceptions import RemovedInAirflow3Warning
+from airflow.exceptions import AirflowProviderDeprecationWarning
 from airflow.providers.google.cloud.utils.credentials_provider import 
get_credentials_and_project_id
 from airflow.providers.google.common.consts import CLIENT_INFO
 from airflow.providers.google.version_compat import AIRFLOW_V_3_0_PLUS
@@ -106,7 +106,7 @@ class StackdriverTaskHandler(logging.Handler):
             warnings.warn(
                 "Param `name` is deprecated and will be removed in a future 
release. "
                 "Please use `gcp_log_name` instead. ",
-                RemovedInAirflow3Warning,
+                AirflowProviderDeprecationWarning,
                 stacklevel=2,
             )
             gcp_log_name = str(name)

Reply via email to