sunank200 commented on code in PR #43902:
URL: https://github.com/apache/airflow/pull/43902#discussion_r1838377854
##########
providers/src/airflow/providers/cncf/kubernetes/cli/kubernetes_command.py:
##########
@@ -36,15 +36,20 @@
from airflow.utils.cli import get_dag
from airflow.utils.providers_configuration_loader import
providers_configuration_loaded
+from tests_common.test_utils.compat import AIRFLOW_V_3_0_PLUS
Review Comment:
I have changed it to:
```
AIRFLOW_VERSION = Version(airflow_version)
AIRFLOW_V_3_0_PLUS = Version(AIRFLOW_VERSION.base_version) >=
Version("3.0.0")
```
##########
providers/src/airflow/providers/elasticsearch/log/es_task_handler.py:
##########
@@ -44,6 +44,8 @@
from airflow.utils.module_loading import import_string
from airflow.utils.session import create_session
+from tests_common.test_utils.compat import AIRFLOW_V_3_0_PLUS
Review Comment:
I have changed it to:
```
AIRFLOW_VERSION = Version(airflow_version)
AIRFLOW_V_3_0_PLUS = Version(AIRFLOW_VERSION.base_version) >=
Version("3.0.0")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]