Repository navigation
Add fallback to standard provider import in example_dms - #73193
Conversation
kaxil
left a comment
There was a problem hiding this comment.
Just requesting changes to know more on "the why"
|
The standard provider was not introduced in Airflow 3? |
The standard provider actually predates Airflow 3 :) It landed in #41564 in Sep 2024 and was first released as 0.0.1 in Nov 2024 with Today That said, did you hit an actual ImportError somewhere? If the standard provider just isn't installed in the environment where you saw this? |
Standard provider should work for Airflow >=2.8
Exactly, basically we are running our system tests against Airflow 2.11, see dashboard here: https://aws-mwaa.github.io/#/open-source/system-tests/version/2.11.0.html. We want to make sure operators and sensors in the amazon provider package are still working in Airflow 2.11. In this setup, the standard provider is not installed, we could, but we rather do it without it to be more strict about it. That's why I need to add this fallback. The error I am getting is: Let me know if you have further question |
This is the part I'd push back on — On "installable": Worth noting this pattern is already established in the amazon system tests — three files use the identical
|
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.