Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unpopular packages, parte 3 #1403

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 2 additions & 29 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ RUN pip install opencv-contrib-python opencv-python && \
/tmp/clean-layer.sh

# Pin scipy until we update JAX b/335003097
RUN pip install scipy==1.12.0 \
RUN pip install "scipy==1.12.0" \
# Scikit-learn accelerated library for x86
scikit-learn-intelex>=2023.0.1 \
"scikit-learn-intelex>=2023.0.1" \
# HDF5 support
h5py \
# PUDB, for local debugging convenience
Expand Down Expand Up @@ -305,7 +305,6 @@ RUN pip install mpld3 \
nilearn \
nibabel \
imgaug \
preprocessing \
path.py \
Geohash && \
pip install deap \
Expand All @@ -322,7 +321,6 @@ RUN pip install mpld3 \
missingno \
pandas-profiling \
s2sphere \
bayesian-optimization \
matplotlib-venn \
pyldavis \
mlxtend \
Expand All @@ -340,7 +338,6 @@ RUN pip install mpld3 \
wavio \
SimpleITK \
hmmlearn \
gplearn \
squarify \
fuzzywuzzy \
python-louvain \
Expand All @@ -354,7 +351,6 @@ RUN pip install mpld3 \
holoviews \
geoviews \
hypertools \
mlens \
scikit-multilearn \
cleverhans \
leven \
Expand All @@ -365,7 +361,6 @@ RUN pip install mpld3 \
plotnine \
scikit-surprise \
pymongo \
geoplot \
eli5 \
kaggle \
kagglehub \
Expand All @@ -377,9 +372,7 @@ RUN rm -rf /opt/conda/lib/python3.10/site-packages/numpy-1.23.5.dist-info*
# Add google PAIR-code Facets
RUN cd /opt/ && git clone https://github.com/PAIR-code/facets && cd facets/ && jupyter nbextension install facets-dist/ --user && \
export PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/ && \
pip install kmodes --no-dependencies && \
pip install librosa \
polyglot \
sentencepiece \
cufflinks \
lime \
Expand Down Expand Up @@ -416,7 +409,6 @@ RUN pip install annoy \
# Add Japanese morphological analysis engine
janome \
wfdb \
vecstack \
# yellowbrick machine learning visualization library
yellowbrick \
mlcrate && \
Expand Down Expand Up @@ -529,10 +521,7 @@ RUN pip install flashtext \
cesium \
rgf_python \
jieba \
# ggplot is broken and main repo does not merge and release https://github.com/yhat/ggpy/pull/668
https://github.com/hbasria/ggpy/archive/0.11.5.zip \
tsfresh \
pykalman \
optuna \
plotly_express \
albumentations \
Expand All @@ -554,7 +543,6 @@ RUN pip install pytorch-ignite \
kaggle-environments \
geopandas \
"shapely<2" \
vowpalwabbit \
pydub \
pydegensac \
torchmetrics \
Expand All @@ -564,7 +552,6 @@ RUN pip install pytorch-ignite \
flask \
# pycrypto is used by competitions team.
pycryptodome \
easyocr \
# ipympl adds interactive widget support for matplotlib
ipympl==0.7.0 \
onnx \
Expand All @@ -575,20 +562,6 @@ RUN pip install pytorch-ignite \
pip install git+https://github.com/facebookresearch/segment-anything.git && \
/tmp/clean-layer.sh

# Download base easyocr models.
# https://github.com/JaidedAI/EasyOCR#usage
RUN mkdir -p /root/.EasyOCR/model && \
wget --no-verbose "https://github.com/JaidedAI/EasyOCR/releases/download/v1.3/latin_g2.zip" -O /root/.EasyOCR/model/latin.zip && \
unzip /root/.EasyOCR/model/latin.zip -d /root/.EasyOCR/model/ && \
rm /root/.EasyOCR/model/latin.zip && \
wget --no-verbose "https://github.com/JaidedAI/EasyOCR/releases/download/v1.3/english_g2.zip" -O /root/.EasyOCR/model/english.zip && \
unzip /root/.EasyOCR/model/english.zip -d /root/.EasyOCR/model/ && \
rm /root/.EasyOCR/model/english.zip && \
wget --no-verbose "https://github.com/JaidedAI/EasyOCR/releases/download/pre-v1.1.6/craft_mlt_25k.zip" -O /root/.EasyOCR/model/craft_mlt_25k.zip && \
unzip /root/.EasyOCR/model/craft_mlt_25k.zip -d /root/.EasyOCR/model/ && \
rm /root/.EasyOCR/model/craft_mlt_25k.zip && \
/tmp/clean-layer.sh

# Tesseract and some associated utility packages
RUN apt-get install tesseract-ocr -y && \
pip install pytesseract \
Expand Down
32 changes: 0 additions & 32 deletions tests/test_bayes_opt.py

This file was deleted.

15 changes: 0 additions & 15 deletions tests/test_easyocr.py

This file was deleted.

12 changes: 0 additions & 12 deletions tests/test_ggplot.py

This file was deleted.

47 changes: 0 additions & 47 deletions tests/test_pykalman.py

This file was deleted.

10 changes: 0 additions & 10 deletions tests/test_vowpalwabbit.py

This file was deleted.