Fokko commented on issue #3252: Flask as dependancy
URL: 
https://github.com/apache/incubator-superset/pull/3252#issuecomment-321314877
 
 
   Hi Maxime,
   
   Thanks for merging the PR. When looked online for similar issues, the 
closest one I can find is this one:
   https://github.com/pallets/flask/issues/1106
   They solve it by including `Flask>=0.10.1` as a dependancy so the 
`flask_appbuilder` can still decide on the version. Personally I would 
recommend to pin the version, this makes debugging easier because everyone is 
running the same version of Flask.
   
   To get back to your question, I do not use `pip install superset`, but I 
build it from source [as 
described](https://superset.incubator.apache.org/installation.html#making-your-own-build):
   ```
   apt-get update \
   && apt-get install -y npm git build-essential libssl-dev libffi-dev 
libsasl2-dev libldap2-dev nodejs-legacy python-dev python-pip \
   && pip install --upgrade setuptools pip \
   && npm install -g npm@'>=5.0.3' \
   && git clone https://github.com/Fokko/incubator-superset.git $SUPERSET_HOME \
   && cd $SUPERSET_HOME/superset/assets \
   && npm install \
   && npm run build \
   && cd $SUPERSET_HOME \
   && python setup.py install
   ```
   This is happening in a clean Docker ubuntu image.
   
   Cheers, Fokko
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to