-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Fix Version Check for CLI Imports in Providers #45255
base: main
Are you sure you want to change the base?
Conversation
Hmm. Interesting it was not caught by the compatibility tests |
And some tests still need fixing. |
Yeah, I would expect some tests to fail.
Yes, I am fixing them now. Thanks for the quick review! |
providers/src/airflow/providers/celery/executors/celery_executor.py
Outdated
Show resolved
Hide resolved
providers/src/airflow/providers/fab/auth_manager/cli_commands/db_command.py
Outdated
Show resolved
Hide resolved
b89f1f4
to
e01cf3f
Compare
0c8e1fe
to
b2653cf
Compare
My local pre-commit didn't fix the exact issue even with |
closes: #44538 (comment)
While testing the changes (here #45148, I missed that we are releasing the providers from the main branch but actual versions not from the main branch. So I have only tested the changes on the main, my bad 🤦
The imports for the older versions were adjusted accordingly.
^ 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.