You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/06/29 08:48:08 UTC
[airflow] 01/39: Update flask-appbuilder authlib/oauth dependency (#24516)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 2a7c1f842407f815d8abe0d2239e64f317307439
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Sun Jun 19 21:28:19 2022 +0200
Update flask-appbuilder authlib/oauth dependency (#24516)
The dependency we have for flask-appbuilder oauth authentication
(for github/google authentication) should follow the limits
that flask-appbuilder current version has. We added authlib there
but apparently FAB currently limits authlib to <= 1.0 - we should
follow fab rather than have our own dependency here.
This has been pointed out in
https://github.com/dpgaspar/Flask-AppBuilder/issues/1861
(cherry picked from commit 5674491dc8e8ed1685cdb4c04922cb72ad8ba9b4)
---
setup.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/setup.py b/setup.py
index 713fda3c11..f2cce10ed1 100644
--- a/setup.py
+++ b/setup.py
@@ -309,8 +309,8 @@ exasol = ['pyexasol>=0.5.1', pandas_requirement]
facebook = [
'facebook-business>=6.0.2',
]
-flask_appbuilder_authlib = [
- 'authlib',
+flask_appbuilder_oauth = [
+ 'flask-appbuilder[oauth]',
]
github = [
'pygithub',
@@ -768,8 +768,8 @@ CORE_EXTRAS_REQUIREMENTS: Dict[str, List[str]] = {
'cncf.kubernetes': kubernetes, # also has provider, but it extends the core with the KubernetesExecutor
'dask': dask,
'deprecated_api': deprecated_api,
- 'github_enterprise': flask_appbuilder_authlib,
- 'google_auth': flask_appbuilder_authlib,
+ 'github_enterprise': flask_appbuilder_oauth,
+ 'google_auth': flask_appbuilder_oauth,
'kerberos': kerberos,
'ldap': ldap,
'leveldb': leveldb,