airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Anand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2418) Bump Flask-WTF to solve dependency conflict
Date Fri, 04 May 2018 23:56:00 GMT

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

Siddharth Anand commented on AIRFLOW-2418:
------------------------------------------

[~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)

Mime
View raw message