Skip to content

changing import path to airflow.sdk #50659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Bowrna
Copy link
Contributor

@Bowrna Bowrna commented May 15, 2025

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 Bowrna requested review from eladkal and o-nikolas as code owners May 15, 2025 16:29
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels May 15, 2025
Copy link
Contributor

@o-nikolas o-nikolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should run this through our system test infra before merging @ramitkataria

@ramitkataria
Copy link
Contributor

Good idea, I'll run this soon

@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch 6 times, most recently from c4df7e8 to 81ce238 Compare May 19, 2025 11:08
@Bowrna
Copy link
Contributor Author

Bowrna commented May 19, 2025

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

@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch from 81ce238 to 7ef0b2f Compare May 19, 2025 14:52
@ramitkataria
Copy link
Contributor

@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?

@Bowrna
Copy link
Contributor Author

Bowrna commented May 22, 2025

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

@jscheffl
Copy link
Contributor

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

@Bowrna
Copy link
Contributor Author

Bowrna commented May 27, 2025

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?

@jscheffl
Copy link
Contributor

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.

@ramitkataria
Copy link
Contributor

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

@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch 10 times, most recently from 172c882 to 2cfe83d Compare June 16, 2025 11:41
@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch 10 times, most recently from 418a4fa to 91d4b46 Compare June 18, 2025 05:36
@Bowrna
Copy link
Contributor Author

Bowrna commented Jun 18, 2025

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

@ramitkataria This is done.

@ramitkataria
Copy link
Contributor

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
Copy link
Contributor

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

@Bowrna
Copy link
Contributor Author

Bowrna commented Jun 25, 2025

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

@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch 2 times, most recently from 50d9304 to c765385 Compare June 25, 2025 09:45
@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch 2 times, most recently from 4c01601 to 10ecb53 Compare June 25, 2025 17:16
@jscheffl
Copy link
Contributor

@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.

@Bowrna Bowrna force-pushed the amazon_tasksdk_dag_example branch from 10ecb53 to 8089933 Compare June 30, 2025 15:46
@Bowrna
Copy link
Contributor Author

Bowrna commented Jun 30, 2025

Could this PR be verified and merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants