potiuk commented on code in PR #39587: URL: https://github.com/apache/airflow/pull/39587#discussion_r1599607966
########## airflow/cli/commands/kubernetes_command.py: ########## @@ -36,6 +37,12 @@ from airflow.utils.cli import get_dag from airflow.utils.providers_configuration_loader import providers_configuration_loaded +warnings.warn( + "Use kubernetes command from providers package, Use cncf.kubernetes provider >= 8.2.1", + DeprecationWarning, + stacklevel=2, +) Review Comment: Yeah. We might decide in the future that we do not allow older provider versions (we can check it at runtime - similarly to what we propose to do for openlineage in https://github.com/apache/airflow/pull/39513#discussion_r1596005178 - and then we will be able to remove it from the core. But that is something maybe in a year or two. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org