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/19 19:28:38 UTC

[airflow] branch main updated: 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 main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 5674491dc8 Update flask-appbuilder authlib/oauth dependency (#24516)
5674491dc8 is described below

commit 5674491dc8e8ed1685cdb4c04922cb72ad8ba9b4
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
---
 setup.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index d56e3e6233..9d3243f2b9 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',
@@ -767,8 +767,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,