betodealmeida closed pull request #6201: [build] fix pip install issues on OSX 
High Sierra
URL: https://github.com/apache/incubator-superset/pull/6201
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile
index 99bbe6b762..f9b8454fec 100644
--- a/contrib/docker/Dockerfile
+++ b/contrib/docker/Dockerfile
@@ -36,7 +36,9 @@ WORKDIR $HOME/incubator-superset
 COPY ./ ./
 
 RUN pip install --upgrade setuptools pip
-RUN pip install -e . && pip install -r requirements-dev.txt
+RUN pip install -r requirements.txt
+RUN pip install -r requirements-dev.txt
+RUN pip install -e .
 
 ENV PATH=/home/work/incubator-superset/superset/bin:$PATH \
     PYTHONPATH=./superset/:$PYTHONPATH
diff --git a/contrib/docker/docker-init.sh b/contrib/docker/docker-init.sh
index 13646063f8..940ad4fa34 100644
--- a/contrib/docker/docker-init.sh
+++ b/contrib/docker/docker-init.sh
@@ -9,7 +9,7 @@ fabmanager create-admin --app superset
 superset db upgrade
 
 # Load some data to play with
-superset load-examples
+superset load_examples
 
 # Create default roles and permissions
 superset init
diff --git a/docs/installation.rst b/docs/installation.rst
index eda51f158f..04c1934df0 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -145,7 +145,7 @@ Follow these few simple steps to install Superset.::
     superset db upgrade
 
     # Load some data to play with
-    superset load-examples
+    superset load_examples
 
     # Create default roles and permissions
     superset init
diff --git a/requirements.txt b/requirements.txt
index a21cda97f1..c2587f7682 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12,31 +12,30 @@ billiard==3.5.0.4         # via celery
 bleach==2.1.2
 boto3==1.4.7
 botocore==1.7.48
-cchardet==1.1.3           # via tabulator
+cchardet==1.0.0           # via tabulator
 celery==4.2.0
 certifi==2018.8.24        # via requests
 cffi==1.11.5              # via cryptography
 chardet==3.0.4            # via requests
-click==6.7                # via flask, flask-appbuilder, tableschema, tabulator
+click==6.7
 colorama==0.3.9
 contextlib2==0.5.5
 cryptography==1.9
 defusedxml==0.5.0         # via python3-openid
 docutils==0.14            # via botocore
 et-xmlfile==1.0.1         # via openpyxl
-flask-appbuilder==1.12.0
+flask-appbuilder==1.12.1
 flask-babel==0.11.1       # via flask-appbuilder
 flask-caching==1.4.0
 flask-compress==1.4.0
 flask-login==0.4.1        # via flask-appbuilder
 flask-migrate==2.1.1
 flask-openid==1.2.5       # via flask-appbuilder
-flask-sqlalchemy==2.1     # via flask-appbuilder, flask-migrate
+flask-sqlalchemy==2.3.2   # via flask-appbuilder, flask-migrate
 flask-wtf==0.14.2
 flask==0.12.2
 flower==0.9.2
 future==0.16.0
-futures==3.1.1            # via flower
 geopy==1.11.0
 gunicorn==19.8.0
 html5lib==1.0.1           # via bleach
@@ -69,12 +68,13 @@ python-editor==1.0.3      # via alembic
 python-geohash==0.8.5
 python3-openid==3.1.0     # via flask-openid
 pytz==2018.5              # via babel, celery, flower, pandas
-pyyaml==3.12
+pyyaml==3.13
 requests==2.18.4
 rfc3986==1.1.0            # via tableschema
 s3transfer==0.1.13        # via boto3
 sasl==0.2.1               # via thrift-sasl
 simplejson==3.15.0
+six==1.11.0               # via bleach, cryptography, html5lib, isodate, 
jsonlines, linear-tsv, pathlib2, polyline, pydruid, python-dateutil, sasl, 
sqlalchemy-utils, tableschema, tabulator, thrift
 sqlalchemy-utils==0.32.21
 sqlalchemy==1.2.2
 sqlparse==0.2.4
diff --git a/setup.py b/setup.py
index bfaf2cdd55..4d18793488 100644
--- a/setup.py
+++ b/setup.py
@@ -57,6 +57,7 @@ def get_git_sha():
         'boto3==1.4.7',
         'botocore>=1.7.0, <1.8.0',
         'celery>=4.2.0',
+        'click>=6.0, <7.0.0',  # click >=7 forces "-" instead of "_"
         'colorama',
         'contextlib2',
         'cryptography',
@@ -82,7 +83,7 @@ def get_git_sha():
         'pyhive>=0.4.0',
         'python-dateutil',
         'python-geohash',
-        'pyyaml>=3.11',
+        'pyyaml>=3.13',
         'requests',
         'simplejson>=3.15.0',
         'sqlalchemy',


 

----------------------------------------------------------------
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