-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Update conf deprecated_values for Airflow 3
#47761
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
Update conf deprecated_values for Airflow 3
#47761
Conversation
This PR does a few things: - cleans out old entries of `deprecated_values` - these have been emitting warnings in AF2 for a while now. - Remove the "update by version" from the warning. - Adds the old default value for `[logging] log_filename_template` into the list - this old default breaks logging in Airflow 3. Closes: apache#46972
|
|
||
| * Migration rules needed | ||
| * [ ] Remove ``[core] hostname`` configuration option from config if value is ``:`` | ||
| * [ ] Remove ``[email] email_backend`` configuration option from config if value is ``airflow.contrib.utils.sendgrid.send_email`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of removing it, should we change it to airflow.providers.sendgrid.utils.emailer.send_email instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could, all of these could, but duplicating default values isn't the best practice anyways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, right. Thanks for confirming!
This PR does a few things: - cleans out old entries of `deprecated_values` - these have been emitting warnings in AF2 for a while now. - Remove the "update by version" from the warning. - Adds the old default value for `[logging] log_filename_template` into the list - this old default breaks logging in Airflow 3. Closes: apache#46972
This PR does a few things: - cleans out old entries of `deprecated_values` - these have been emitting warnings in AF2 for a while now. - Remove the "update by version" from the warning. - Adds the old default value for `[logging] log_filename_template` into the list - this old default breaks logging in Airflow 3. Closes: apache#46972
This PR does a few things:
deprecated_values- these have been emitting warnings in AF2 for a while now.[logging] log_filename_templateinto the list - this old default breaks logging in Airflow 3.Closes: #46972