Skip to content
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

Raise AirflowOptionalProviderfeature exception for AVP command #36824

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jan 16, 2024

This command will fail on Airflow 2.6.0 when someone tries to import it, but since it is only really useful in 2.8.0, we should raise the AirflowOptionalProvider execption in case the configuration loader package is missing in Airflow.


^ 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 newsfragments.

This command will fail on Airflow 2.6.0 when someone tries to import
it, but since it is only really useful in 2.8.0, we should raise
the AirflowOptionalProvider execption in case the configuration
loader package is missing in Airflow.
@potiuk
Copy link
Member Author

potiuk commented Jan 16, 2024

Some more details on why it did not fail in the original PR here: #36799 (comment) and fix is coming.

Hey @jedcunningham - welcome back :D

@potiuk
Copy link
Member Author

potiuk commented Jan 16, 2024

Just random spellcheck failure. Merging. BTW - fix to avoid false positives in PRs in similar cases is here #36825

@potiuk potiuk merged commit 08cc59a into apache:main Jan 16, 2024
44 of 45 checks passed
@potiuk potiuk deleted the make-avp-command-raise-optional-provider-feature-exception branch January 16, 2024 22:00
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.

4 participants