-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Decouple SMTP Provider settings from the Airflow Core #37703
Comments
It should be part of #30530 |
Not really. This one about remove unnecessary settings options from the SMPT Provider, which add accidentally into the SmtpNotifier and |
So there is no such attributes into the
So we might just fix it into the provider, and remove it from the core until we release 2.9 |
Oh nice! If we can just remove those configs, that would make things a lot easier. I was thinking of swapping them over to provider configuration w/ something like this: Wdyt? Probably need to fix up a few tests but need to run right now so can look a little closer tonight. |
We just discussed it in release management channel - we will just remove the settings altogether (and yes replace with config) - we will also yank 1.6.0 (likely) and release 1.7.0 and also switch constraints for Airfrlow 2.8.1 and 2.8.2 to use smtp 1.5.0 |
You can join |
Awesome, sounds good. Sorry about all the hassle here. Will get to fixing up that PR tonight! |
Well. We did not do a good job on preventing it during review, so don't put all the blame on you :) |
Body
By mistake we add coupling between SMTP provider and core in #36226.
Discussion for the reference: #37701 (comment)
Provider Changes
Airflow Core Changes
DeprecateRemoveSMTP_DEFAULT_TEMPLATED_SUBJECT
andSMTP_DEFAULT_TEMPLATED_HTML_CONTENT_PATH
into theairflow/settings.py
- E.g. on access raise a deprecation warning with suggestion to upgrade to the new version of the SMTP Provider- E.g. on set fromairflow_local_settings.py
raise a deprecation warning with suggestion to upgrade to the new version of the SMTP Provider and use configurations insteadCommitter
The text was updated successfully, but these errors were encountered: