findepi commented on issue #4953: 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
URL: 
https://github.com/apache/incubator-superset/issues/4953#issuecomment-389091694
 
 
   @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")
   (You can see details of my env and all the changes i did for the below in my 
WIP branch 
https://github.com/starburstdata/superset-docker/commits/findepi/unpin-sqlalchemy)
   
   1. > Is the issue with SQLAlchemy-Utils related to flask being 1+, or do we 
need to pin that as well?
       
      I unpinned `SQLAlchemy-Utils` without upgrading superset and with flask 
remaining pinned. Result: 
https://travis-ci.org/starburstdata/superset-docker/builds/379081519
      ```
        File 
"/usr/local/lib/python2.7/dist-packages/superset/migrations/versions/289ce07647b_add_encrypted_password_field.py",
 line 16, in <module>
          from sqlalchemy_utils.types.encrypted import EncryptedType
      ImportError: cannot import name EncryptedType
      ```
   2. > I just released 0.25.1 which pins Flask<1.0
      
      I unpinned flask and bump superset version to 0.25.2 (released 
yesterday). Result: 
https://travis-ci.org/starburstdata/superset-docker/builds/379094497
       ```
       pkg_resources.DistributionNotFound: The 'Flask<0.12.99,>=0.12.1' 
distribution was not found and is required by Flask-AppBuilder
       ```
   
   I must be doing something wrong.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to