potiuk commented on code in PR #30975:
URL: https://github.com/apache/airflow/pull/30975#discussion_r1181277944


##########
airflow/providers/sqlite/operators/sqlite.py:
##########
@@ -49,6 +50,6 @@ def __init__(self, *, sqlite_conn_id: str = "sqlite_default", 
**kwargs) -> None:
         warnings.warn(
             """This class is deprecated.
             Please use 
`airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.""",
-            DeprecationWarning,
+            AirflowProviderDeprecationWarning,

Review Comment:
   I'd be for raising hard error. One of the reasons for having min-airflow 
version is to be able to AVOID this kind of hacks - even if theorethically the 
provider could work with older airflow. This is also a way to have our users 
more-or-less-gently pushed to upgrade airflow.



-- 
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]

Reply via email to