This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new df73edf Add open id dependency (#13714)
df73edf is described below
commit df73edf766c26b612eda1145576268888dcc2143
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jan 16 22:04:00 2021 +0100
Add open id dependency (#13714)
* Adds python3-openid requirement
Seems that python3-openid dependency is not properly solved by tools
like poetry (it is properly resolved by pip). The result is
that old version of python3-openid is installed when poetry is
used and errors when initdb is run.
While we do not use poetry as an official installation mechanism
this happens frequently enought and it is easy enough to fix
that we can add this dependency to make it easier for
poetry users.
Related to #13711 #13558 #13149
* Update setup.cfg
---
setup.cfg | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/setup.cfg b/setup.cfg
index fbd9f7e..7d95f0d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -122,6 +122,11 @@ install_requires =
python-dateutil>=2.3, <3
python-nvd3~=0.15.0
python-slugify>=3.0.0,<5.0
+ # Required for flask-openID which comes with flask-appbuilder in case of
poetry installation
+ # earlier versions of the dependency are installed but they do not work
for Python 3
+ # (pip installs the right version).
+ # More info:
https://github.com/apache/airflow/issues/13149#issuecomment-748705193
+ python3-openid~=3.2
requests>=2.20.0
rich==9.2.0
setproctitle>=1.1.8, <2