airflow icon indicating copy to clipboard operation
airflow copied to clipboard

changing import path to airflow.sdk

Open Bowrna opened this issue 7 months ago • 8 comments

related: #49648

Changes imports in amazon provider to use airflow.sdk


^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Bowrna avatar May 15 '25 16:05 Bowrna

Good idea, I'll run this soon

ramitkataria avatar May 15 '25 18:05 ramitkataria

@ramitkataria, please let me know if this PR works fine with the system tests infra.

Bowrna avatar May 19 '25 11:05 Bowrna

@Bowrna I ran this through the system tests infra on local executor and most of the tests are passing but there are a few failures, probably not related to this change (there are already some issues in system tests that we're working on fixing). I can't test on remote executor such as ECS executor right now because all the tests are already failing.

I don't think this change should cause issues but just to be safe, maybe we should wait until we fix the existing issues?

ramitkataria avatar May 22 '25 00:05 ramitkataria

Sure @ramitkataria, please let me know if I can support you in any way.

Bowrna avatar May 22 '25 07:05 Bowrna

I am not sure whether this PR is a good idea. When this is merged you basically break compatibility with Airflow 2.10/2.11

jscheffl avatar May 26 '25 21:05 jscheffl

I am not sure whether this PR is a good idea. When this is merged you basically break compatibility with Airflow 2.10/2.11

Hi @jscheffl , like suggested by @amoghrajesh could i add support for compatibility in import and raise an updated PR. will that work fine?

Bowrna avatar May 27 '25 14:05 Bowrna

I am not sure whether this PR is a good idea. When this is merged you basically break compatibility with Airflow 2.10/2.11

Hi @jscheffl , like suggested by @amoghrajesh could i add support for compatibility in import and raise an updated PR. will that work fine?

I'd leave it up to you. I just wanted to warn that it breaks compatability. But you can also leave the imports as-is until compatability is dropped.

jscheffl avatar May 27 '25 19:05 jscheffl

Also, could you please update the branch with main? There have been changes recently that fixed most of the tests

ramitkataria avatar May 30 '25 18:05 ramitkataria

Also, could you please update the branch with main? There have been changes recently that fixed most of the tests

@ramitkataria This is done.

Bowrna avatar Jun 18 '25 07:06 Bowrna

Also, could you please update the branch with main? There have been changes recently that fixed most of the tests

@ramitkataria This is done.

Thanks, I'll run the tests again and let you know

ramitkataria avatar Jun 19 '25 21:06 ramitkataria

@Bowrna Tests are complete and there were no additional failures so we should be good to merge!

ramitkataria avatar Jun 21 '25 01:06 ramitkataria

@eladkal @amoghrajesh @o-nikolas @jscheffl When you get time, could you verify this PR and share your feedback?

Bowrna avatar Jun 25 '25 05:06 Bowrna

@eladkal @amoghrajesh @o-nikolas @jscheffl When you get time, could you verify this PR and share your feedback?

I am not an expert of the Amazon provider, I'd leave the review rather for others. I just stumbled over it and left some comments.

jscheffl avatar Jun 25 '25 21:06 jscheffl

Could this PR be verified and merged?

Bowrna avatar Jun 30 '25 15:06 Bowrna