From 510df0b23c96b712370946af8f73e7b42843f63b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 25 Dec 2018 16:28:46 +0100 Subject: [PATCH] :hammer: Replaces PyMySQL with mysqlclient Ref #5 --- jupyterlab/Dockerfile | 3 +++ jupyterlab/requirements.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jupyterlab/Dockerfile b/jupyterlab/Dockerfile index 530a9dc..1e27706 100644 --- a/jupyterlab/Dockerfile +++ b/jupyterlab/Dockerfile @@ -28,6 +28,8 @@ RUN \ libfreetype6=2.8.1-2ubuntu2 \ libjpeg-turbo8-dev=1.5.2-0ubuntu5.18.04.1 \ libjpeg-turbo8=1.5.2-0ubuntu5.18.04.1 \ + libmysqlclient-dev=5.7.21-1ubuntu1 \ + libmysqlclient20=5.7.21-1ubuntu1 \ libnginx-mod-http-lua=1.14.0-0ubuntu1.2 \ libpng-dev=1.6.34-1ubuntu0.18.04.1 \ libpng16-16=1.6.34-1ubuntu0.18.04.1 \ @@ -79,6 +81,7 @@ RUN \ libffi-dev \ libfreetype6-dev \ libjpeg-turbo8-dev \ + libmysqlclient-dev \ libpng-dev \ libpq-dev \ libssl-dev \ diff --git a/jupyterlab/requirements.txt b/jupyterlab/requirements.txt index d4a591c..5862e8e 100644 --- a/jupyterlab/requirements.txt +++ b/jupyterlab/requirements.txt @@ -7,12 +7,12 @@ ipywidgets==7.4.2 jupyterlab_github==0.7.0 jupyterlab==0.35.4 matplotlib==3.0.2 +mysqlclient==1.3.14 nbconvert==5.4.0 numpy==1.15.4 pandas-datareader==0.7.0 pandas==0.23.4 psycopg2==2.7.6.1 -PyMySQL==0.9.2 python-dateutil==2.7.5 scrapy==1.5.1 SQLAlchemy==1.2.15