eladkal commented on a change in pull request #13012:
URL: https://github.com/apache/airflow/pull/13012#discussion_r577394244
##########
File path: airflow/upgrade/rules/import_changes.py
##########
@@ -80,10 +82,30 @@ class ImportChangesRule(BaseRule):
"https://github.com/apache/airflow#backport-packages"
)
+ current_airflow_version = Version(__import__("airflow").__version__)
+
+ if current_airflow_version < Version("2.0.0"):
+
+ def _filter_incompatible_renames(arg):
+ new_path = arg[1]
Review comment:
@Dr-Denzy you can use the DAG example in
https://github.com/apache/airflow/issues/14258 to verify it
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]