-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flask-appbuilder 1.10.0 has requirement Flask<0.12.99,>=0.12.1, but you'll have flask 1.0.2 which is incompatible #4953
Comments
I did uninstall Flask inside the venv , then I installed pip install -U 'Flask~=0.12.2'
|
@Neuliaus i worked around this by pinning
as in inspirehep/inspire-next@828856e (inveniosoftware/invenio-oauth2server#170) |
This is related to the notes in https://github.com/apache/incubator-superset/blob/master/UPDATING.md (the 3rd item) |
@mistercrunch thanks for referencing the update notes. I must admit i didn't read them. |
flask 1.0 came out and has backwards incompatible changes. People are reporting that fresh install doesn't work anymore. fixes apache#4953 We should ship a 0.25.1 with this in
Please help on this , i am able to login in Superset but getting below exception INFO [alembic.runtime.migration] Context impl SQLiteImpl. |
Traceback (most recent call last): |
@gitvikram to solve the 'Encrypted Type' issue you need to reinstall sqlalchemy-utils to <0.33.0 as for the sqlite3.operationalerror..i'm still figuring that part out, i suspect it has something to do with the flask version. |
@gitvikram windows isn't really supported at the moment |
flask 1.0 came out and has backwards incompatible changes. People are reporting that fresh install doesn't work anymore. fixes #4953 We should ship a 0.25.1 with this in
@mistercrunch you closed this having fixed the flask version issue, but @Neuliaus actually reported two problems, the second being
i was able to work around this pinning |
The easiest workaround for now is to just install the requirements as they currently are in the master branch. Just before running pip install superset, I did:
This get's the latest merged requirements.txt and then you install the dependencies that way. |
@AndreLesa , as I described my |
I just released |
@mistercrunch i just tried this once again: Env is Python 2.7 in ubuntu:16.04. (2.7 is somewhat "recommended" on https://superset.incubator.apache.org/installation.html: "Airbnb currently uses 2.7.* in production")
I must be doing something wrong. |
But at that point you were already upgrade to Flask 1+ weren't you? |
No, i use docker, so I get fresh state each time
… |
flask 1.0 came out and has backwards incompatible changes. People are reporting that fresh install doesn't work anymore. fixes apache#4953 We should ship a 0.25.1 with this in
flask 1.0 came out and has backwards incompatible changes. People are reporting that fresh install doesn't work anymore. fixes apache#4953 We should ship a 0.25.1 with this in
flask 1.0 came out and has backwards incompatible changes. People are reporting that fresh install doesn't work anymore. fixes apache#4953 We should ship a 0.25.1 with this in
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Update your pip to the latest version, this fixed this for me |
flask 1.0 came out and has backwards incompatible changes. People are reporting that fresh install doesn't work anymore. fixes apache#4953 We should ship a 0.25.1 with this in (cherry picked from commit e1590c0)
I'm running a normal installation on
AWS
t2.medium
Ubuntu 16.04
Python 2.7
pip 10.0.1
Inside venv
Superset version
0.20.4
Following installation instructiorn
Expected results
Install and use Superset
Actual results
flask-appbuilder 1.10.0 has requirement Flask<0.12.99,>=0.12.1, but you'll have flask 1.0.2 which is incompatible.
Steps to reproduce
sudo virtualenv venv
21 python -V
22 pip -V
23 virtualenv venv
24 . ./venv/bin/activate
25 pip install --upgrade setuptools pip
26 pip install superset
27 pip show flask-appbuilder
Name: Flask-AppBuilder
Version: 1.10.0
Summary: Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.
Home-page: https://github.com/dpgaspar/flask-appbuilder/
Author: Daniel Vaz Gaspar
Author-email: [email protected]
License: BSD
Location: /home/ubuntu/venv/lib/python2.7/site-packages
Requires: Flask-Babel, Flask-OpenID, click, Flask-Login, Flask, colorama, Flask-SQLAlchemy, python-dateutil, Flask-WTF
The text was updated successfully, but these errors were encountered: