-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Add [webserver]update_fab_perms
to deprecated configs
#40317
Add [webserver]update_fab_perms
to deprecated configs
#40317
Conversation
I wonder if we should also maybe the config in the fab provider look at the the old config as well? It's fairly niche so I don't mind either way if we decide to leave the provider looking only at the new option |
An alternative (that I don't think I like, but it is an option) is to mutate |
I moved the provider config loading into AppBuilder init section. Looks like it makes sense that way |
34a3459
to
49c6d9c
Compare
49c6d9c
to
eccd32a
Compare
I had to let the doc builder build FAB configuration to fix the doc configuration issue. I haven't figured a better way to fix it cc @potiuk. The doc issue : https://github.com/apache/airflow/actions/runs/9585199812/job/26430786160?pr=40317#step:7:14376 |
The first two errors were causing all the others @ephraimbuddy - apparently somewhere there is a reference to
|
I can't find the references of those configs. The issue seems to come from having ("fab", "auth_rate_limit"), etc in deprecations while there's no reference to the fab section in core airflow documentation. The docs build fine when the items are removed from the deprecation sections. The provided solution of having the fab section in core config ref also solved this. |
`[webserver]update_fab_perms` is deprecated in favour of `[fab]update_fab_perms` and has been a breaking change since 2.9.0. This PR adds the config to the deprecated config list to properly inform users and have both options work at the moment
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
99c6970
to
5c53c3a
Compare
Yeah, that solved it. Thanks so much @potiuk |
* Add `[webserver]update_fab_perms` to deprecated configs `[webserver]update_fab_perms` is deprecated in favour of `[fab]update_fab_perms` and has been a breaking change since 2.9.0. This PR adds the config to the deprecated config list to properly inform users and have both options work at the moment * Move provider config loading into init_appbuilder * Remove deprecated webserver config options from config.yml * Remove fallbacks * Remove update_fab_perms and return the provider initialization * Include FAB config in core configuration reference * Update docs/apache-airflow/faq.rst * Fix doc build error (cherry picked from commit e24b7c1)
* Add `[webserver]update_fab_perms` to deprecated configs `[webserver]update_fab_perms` is deprecated in favour of `[fab]update_fab_perms` and has been a breaking change since 2.9.0. This PR adds the config to the deprecated config list to properly inform users and have both options work at the moment * Move provider config loading into init_appbuilder * Remove deprecated webserver config options from config.yml * Remove fallbacks * Remove update_fab_perms and return the provider initialization * Include FAB config in core configuration reference * Update docs/apache-airflow/faq.rst * Fix doc build error (cherry picked from commit e24b7c1)
@ephraimbuddy, |
Can you check if you have |
* Add `[webserver]update_fab_perms` to deprecated configs `[webserver]update_fab_perms` is deprecated in favour of `[fab]update_fab_perms` and has been a breaking change since 2.9.0. This PR adds the config to the deprecated config list to properly inform users and have both options work at the moment * Move provider config loading into init_appbuilder * Remove deprecated webserver config options from config.yml * Remove fallbacks * Remove update_fab_perms and return the provider initialization * Include FAB config in core configuration reference * Update docs/apache-airflow/faq.rst * Fix doc build error
[webserver]update_fab_perms
is deprecated in favour of[fab]update_fab_perms
and has been a breaking change since 2.9.0. This PR adds the config to the deprecated config list to properly inform users and have both options work at the moment