Skip to content

Commit 06bf91f

Browse files
authored
Merge pull request #905 from Kaggle/rm-unused-package
Remove unused/unmaintained packages
2 parents caeacab + bdcf6e2 commit 06bf91f

File tree

2 files changed

+5
-47
lines changed

2 files changed

+5
-47
lines changed

Dockerfile

+5-32
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ RUN conda config --add channels conda-forge && \
4646

4747
# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
4848
RUN pip install seaborn python-dateutil dask && \
49-
pip install pyyaml joblib pytagcloud husl geopy ml_metrics mne pyshp && \
49+
pip install pyyaml joblib husl geopy ml_metrics mne pyshp && \
5050
pip install pandas && \
5151
# Install h2o from source.
5252
# Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda.
@@ -80,21 +80,12 @@ RUN apt-get install -y libfreetype6-dev && \
8080
pip install xgboost && \
8181
# Pinned to match GPU version. Update version together.
8282
pip install lightgbm==2.3.1 && \
83-
pip install git+git://github.com/Lasagne/Lasagne.git && \
8483
pip install keras && \
8584
pip install keras-tuner && \
8685
pip install flake8 && \
87-
#neon
88-
cd /usr/local/src && \
89-
git clone --depth 1 https://github.com/NervanaSystems/neon.git && \
90-
cd neon && pip install . && \
91-
#nolearn
92-
pip install nolearn && \
9386
pip install Theano && \
94-
pip install pybrain && \
9587
pip install python-Levenshtein && \
9688
pip install hep_ml && \
97-
# chainer
9889
pip install chainer && \
9990
# NLTK Project datasets
10091
mkdir -p /usr/share/nltk_data && \
@@ -135,10 +126,6 @@ RUN pip install scipy && \
135126
# PUDB, for local debugging convenience
136127
pip install pudb && \
137128
pip install imbalanced-learn && \
138-
# Convex Optimization library
139-
# Latest version fails to install, see https://github.com/cvxopt/cvxopt/issues/77
140-
# and https://github.com/cvxopt/cvxopt/issues/80
141-
# pip install cvxopt && \
142129
# Profiling and other utilities
143130
pip install line_profiler && \
144131
pip install orderedmultidict && \
@@ -164,7 +151,6 @@ RUN apt-get install -y libgl1-mesa-glx && \
164151
/tmp/clean-layer.sh
165152

166153
RUN pip install mpld3 && \
167-
pip install mplleaflet && \
168154
pip install gpxpy && \
169155
pip install arrow && \
170156
pip install nilearn && \
@@ -173,7 +159,6 @@ RUN pip install mpld3 && \
173159
pip install markovify && \
174160
pip install imgaug && \
175161
pip install preprocessing && \
176-
pip install Baker && \
177162
pip install path.py && \
178163
pip install Geohash && \
179164
# https://github.com/vinsci/geohash/issues/4
@@ -183,15 +168,13 @@ RUN pip install mpld3 && \
183168
pip install scikit-optimize && \
184169
pip install haversine && \
185170
pip install toolz cytoolz && \
186-
pip install sacred && \
187171
pip install plotly && \
188172
pip install hyperopt && \
189173
pip install fitter && \
190174
pip install langid && \
191175
# Delorean. Useful for dealing with datetime
192176
pip install delorean && \
193177
pip install trueskill && \
194-
pip install heamy && \
195178
# Useful data exploration libraries (for missing data and generating reports)
196179
pip install missingno && \
197180
pip install pandas-profiling && \
@@ -212,7 +195,6 @@ RUN pip install mpld3 && \
212195
pip install spectral && \
213196
pip install descartes && \
214197
pip install geojson && \
215-
pip install terminalplot && \
216198
pip install pydicom && \
217199
pip install wavio && \
218200
pip install SimpleITK && \
@@ -231,14 +213,11 @@ RUN pip install mpld3 && \
231213
pip install geoviews && \
232214
pip install hypertools && \
233215
pip install py_stringsimjoin && \
234-
pip install nibabel && \
235216
pip install mlens && \
236217
pip install scikit-multilearn && \
237218
pip install cleverhans && \
238219
pip install leven && \
239220
pip install catboost && \
240-
# fastFM doesn't support Python 3.7 yet: https://github.com/ibayer/fastFM/issues/151
241-
# pip install fastFM && \
242221
pip install lightfm && \
243222
pip install folium && \
244223
pip install scikit-plot && \
@@ -254,12 +233,12 @@ RUN pip install mpld3 && \
254233
pip install kaggle && \
255234
/tmp/clean-layer.sh
256235

257-
RUN pip install kmeans-smote --no-dependencies && \
236+
RUN pip install tensorpack && \
258237
# Add google PAIR-code Facets
259238
cd /opt/ && git clone https://github.com/PAIR-code/facets && cd facets/ && jupyter nbextension install facets-dist/ --user && \
260239
export PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/ && \
261-
pip install tensorpack && \
262-
pip install pycountry && pip install iso3166 && \
240+
pip install pycountry && \
241+
pip install iso3166 && \
263242
pip install pydash && \
264243
pip install kmodes --no-dependencies && \
265244
pip install librosa && \
@@ -296,23 +275,18 @@ RUN pip install --upgrade cython && \
296275
# Pandas data reader
297276
pip install pandas-datareader && \
298277
pip install wordsegment && \
299-
pip install pyahocorasick && \
300278
pip install wordbatch && \
301279
pip install emoji && \
302280
# Add Japanese morphological analysis engine
303281
pip install janome && \
304282
pip install wfdb && \
305283
pip install vecstack && \
306-
# Doesn't support Python 3.7 yet. Last release on pypi is from 2017.
307-
# Add back once this PR is released: https://github.com/scikit-learn-contrib/lightning/pull/133
308-
# pip install sklearn-contrib-lightning && \
309284
# yellowbrick machine learning visualization library
310285
pip install yellowbrick && \
311286
pip install mlcrate && \
312287
/tmp/clean-layer.sh
313288

314-
RUN pip install bcolz && \
315-
pip install bleach && \
289+
RUN pip install bleach && \
316290
pip install certifi && \
317291
pip install cycler && \
318292
pip install decorator && \
@@ -398,7 +372,6 @@ RUN pip install flashtext && \
398372
# b/167220714 unpin once matplotlib >= 3.3 is installed in the base image.
399373
pip install tensorforce==0.5.5 && \
400374
pip install pyarabic && \
401-
pip install conx && \
402375
pip install pandasql && \
403376
pip install tensorflow_hub && \
404377
pip install jieba && \

tests/test_lasagne.py

-15
This file was deleted.

0 commit comments

Comments
 (0)