You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Siddharth Anand (JIRA)" <ji...@apache.org> on 2018/05/04 23:57:00 UTC

[jira] [Comment Edited] (AIRFLOW-2418) Bump Flask-WTF to solve dependency conflict

    [ https://issues.apache.org/jira/browse/AIRFLOW-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464524#comment-16464524 ] 

Siddharth Anand edited comment on AIRFLOW-2418 at 5/4/18 11:56 PM:
-------------------------------------------------------------------

How are you getting this? I just ran init db off master and do not see this.

If I run setup.py install off master, I don't have any issues. I am running Python 3 and here's the entry after setup.py runs. 
Using /usr/local/lib/python3.6/site-packages/Flask_AppBuilder-1.10.0-py3.6.egg
Searching for Flask==0.12.2
Best match: Flask 0.12.2
Processing Flask-0.12.2-py3.6.egg
Flask 0.12.2 is already the active version in easy-install.pth
Installing flask script to /usr/local/bin

 

Here's pip freeez:
sianand@LM-SJN-21002367:~/Projects/airflow_incubator $ pip freeze | grep -i Flask-AppBuilder
Flask-AppBuilder==1.10.0


was (Author: sanand):
[~Fokko]


How are you getting this? I just ran init db off master and do not see this. 

If I run setup.py install off master, I don't have any issues. I am running Python 3 and here's the entry after setup.py runs. 

Using /usr/local/lib/python3.6/site-packages/Flask_AppBuilder-1.10.0-py3.6.egg

Searching for Flask==0.12.2

Best match: Flask 0.12.2

Processing Flask-0.12.2-py3.6.egg

Flask 0.12.2 is already the active version in easy-install.pth

Installing flask script to /usr/local/bin

 

Here's pip freeez:

sianand@LM-SJN-21002367:~/Projects/airflow_incubator $ pip freeze | grep -i Flask

Flask==0.12.2

Flask-Admin==1.4.1

Flask-AppBuilder==1.10.0

Flask-Babel==0.11.1

Flask-Caching==1.3.3

Flask-Login==0.2.11

Flask-OpenID==1.2.5

Flask-SQLAlchemy==2.1

flask-swagger==0.2.13

Flask-WTF==0.14.2

> Bump Flask-WTF to solve dependency conflict
> -------------------------------------------
>
>                 Key: AIRFLOW-2418
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2418
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Fokko Driesprong
>            Priority: Major
>
> root@e6849f25fd65:/airflow# airflow initdb
> Traceback (most recent call last):
>   File "/usr/local/bin/airflow", line 4, in <module>
>     __import__('pkg_resources').run_script('apache-airflow==2.0.0.dev0+incubating', 'airflow')
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3088, in <module>
>     @_call_aside
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
>     f(*args, **kwargs)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
>     working_set = WorkingSet._build_master()
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 576, in _build_master
>     return cls._build_from_requirements(__requires__)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 589, in _build_from_requirements
>     dists = ws.resolve(reqs, Environment())
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 783, in resolve
>     raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.ContextualVersionConflict: (Flask-WTF 0.14 (/usr/local/lib/python2.7/site-packages), Requirement.parse('Flask-WTF==0.14.2'), set(['flask-appbuilder']))



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)