@@ -393,60 +393,60 @@ RUN pip install cython && \
393
393
mlcrate && \
394
394
/tmp/clean-layer.sh
395
395
396
- RUN pip install bleach && \
397
- pip install certifi && \
398
- pip install cycler && \
399
- pip install decorator && \
400
- pip install entrypoints && \
401
- pip install html5lib && \
402
- pip install ipykernel && \
403
- pip install ipython && \
404
- pip install ipython-genutils && \
405
- pip install ipywidgets && \
406
- pip install isoweek && \
407
- pip install jedi && \
408
- pip install jsonschema && \
409
- pip install jupyter-client && \
410
- pip install jupyter-console && \
411
- pip install jupyter-core && \
412
- pip install jupyterlab-lsp && \
413
- pip install MarkupSafe && \
414
- pip install mistune && \
415
- pip install nbformat && \
416
- pip install notebook && \
417
- pip install papermill && \
418
- pip install python-lsp-server[all] && \
419
- pip install olefile && \
420
- # b/198300835 kornia 0.5.10 is not compatible with our version of numpy.
421
- pip install kornia==0.5.8 && \
422
- pip install pandas_summary && \
423
- pip install pandocfilters && \
424
- pip install pexpect && \
425
- pip install pickleshare && \
426
- pip install Pillow && \
396
+ RUN pip install bleach \
397
+ certifi \
398
+ cycler \
399
+ decorator \
400
+ entrypoints \
401
+ html5lib \
402
+ ipykernel \
403
+ ipython \
404
+ ipython-genutils \
405
+ ipywidgets \
406
+ isoweek \
407
+ jedi \
408
+ jsonschema \
409
+ jupyter-client \
410
+ jupyter-console \
411
+ jupyter-core \
412
+ jupyterlab-lsp \
413
+ MarkupSafe \
414
+ mistune \
415
+ nbformat \
416
+ notebook \
417
+ papermill \
418
+ python-lsp-server[all] \
419
+ olefile \
420
+ # b/198300835 kornia 0.5.10 is not compatible with our version of numpy.
421
+ kornia==0.5.8 \
422
+ pandas_summary \
423
+ pandocfilters \
424
+ pexpect \
425
+ pickleshare \
426
+ Pillow && \
427
427
# Install openslide and its python binding
428
428
apt-get install -y openslide-tools && \
429
- pip install openslide-python && \
430
- pip install ptyprocess && \
431
- pip install Pygments && \
432
- pip install pyparsing && \
433
- pip install pytz && \
434
- pip install PyYAML && \
435
- pip install pyzmq && \
436
- pip install qtconsole && \
437
- pip install six && \
438
- pip install terminado && \
439
- pip install tornado && \
440
- pip install tqdm && \
441
- pip install traitlets && \
442
- pip install wcwidth && \
443
- pip install webencodings && \
444
- pip install widgetsnbextension && \
445
- pip install pyarrow && \
446
- pip install feather-format && \
447
- pip install fastai && \
448
- pip install allennlp && \
449
- pip install importlib-metadata && \
429
+ pip install openslide-python \
430
+ ptyprocess \
431
+ Pygments \
432
+ pyparsing \
433
+ pytz \
434
+ PyYAML \
435
+ pyzmq \
436
+ qtconsole \
437
+ six \
438
+ terminado \
439
+ tornado \
440
+ tqdm \
441
+ traitlets \
442
+ wcwidth \
443
+ webencodings \
444
+ widgetsnbextension \
445
+ pyarrow \
446
+ feather-format \
447
+ fastai \
448
+ allennlp \
449
+ importlib-metadata && \
450
450
python -m spacy download en_core_web_sm && python -m spacy download en_core_web_lg && \
451
451
apt-get install -y ffmpeg && \
452
452
/tmp/clean-layer.sh
@@ -459,76 +459,76 @@ RUN pip install bleach && \
459
459
#
460
460
###########
461
461
462
- RUN pip install flashtext && \
463
- pip install wandb && \
464
- # b/214080882 blake3 0.3.0 is not compatible with vaex.
465
- pip install blake3==0.2.1 && \
466
- pip install vaex && \
467
- pip install marisa-trie && \
468
- pip install pyemd && \
469
- pip install pyupset && \
470
- pip install pympler && \
471
- pip install s3fs && \
472
- pip install featuretools && \
473
- pip install -e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper && \
474
- pip install hpsklearn && \
475
- pip install git+https://github.com/Kaggle/learntools && \
476
- pip install kmapper && \
477
- pip install shap && \
478
- pip install ray && \
479
- pip install gym && \
480
- pip install pyarabic && \
481
- pip install pandasql && \
482
- pip install tensorflow_hub && \
483
- pip install jieba && \
484
- # ggplot is broken and main repo does not merge and release https://github.com/yhat/ggpy/pull/668
485
- pip install https://github.com/hbasria/ggpy/archive/0.11.5.zip && \
486
- pip install cesium && \
487
- pip install rgf_python && \
488
- # b/205704651 remove install cmd for matrixprofile after version > 1.1.10 is released.
489
- pip install git+https://github.com/matrix-profile-foundation/matrixprofile.git@6bea7d4445284dbd9700a097974ef6d4613fbca7 && \
490
- pip install tsfresh && \
491
- pip install pykalman && \
492
- pip install optuna && \
493
- pip install plotly_express && \
494
- pip install albumentations && \
495
- # b/254245259 catalyst requires accelerate but it breaks with the version 0.13.1
496
- pip install accelerate==0.12.0 && \
497
- pip install catalyst && \
498
- # b/206990323 osmx 1.1.2 requires numpy >= 1.21 which we don't want.
499
- pip install osmnx==1.1.1 && \
462
+ RUN pip install flashtext \
463
+ wandb \
464
+ # b/214080882 blake3 0.3.0 is not compatible with vaex.
465
+ blake3==0.2.1 \
466
+ vaex \
467
+ marisa-trie \
468
+ pyemd \
469
+ pyupset \
470
+ pympler \
471
+ s3fs \
472
+ featuretools \
473
+ -e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper \
474
+ hpsklearn \
475
+ git+https://github.com/Kaggle/learntools \
476
+ kmapper \
477
+ shap \
478
+ ray \
479
+ gym \
480
+ pyarabic \
481
+ pandasql \
482
+ tensorflow_hub \
483
+ jieba \
484
+ # ggplot is broken and main repo does not merge and release https://github.com/yhat/ggpy/pull/668
485
+ https://github.com/hbasria/ggpy/archive/0.11.5.zip \
486
+ cesium \
487
+ rgf_python \
488
+ # b/205704651 remove install cmd for matrixprofile after version > 1.1.10 is released.
489
+ git+https://github.com/matrix-profile-foundation/matrixprofile.git@6bea7d4445284dbd9700a097974ef6d4613fbca7 \
490
+ tsfresh \
491
+ pykalman \
492
+ optuna \
493
+ plotly_express \
494
+ albumentations \
495
+ # b/254245259 catalyst requires accelerate but it breaks with the version 0.13.1
496
+ accelerate==0.12.0 \
497
+ catalyst \
498
+ # b/206990323 osmx 1.1.2 requires numpy >= 1.21 which we don't want.
499
+ osmnx==1.1.1 && \
500
500
apt-get -y install libspatialindex-dev && \
501
- pip install pytorch-ignite && \
502
- pip install qgrid && \
503
- pip install bqplot && \
504
- pip install earthengine-api && \
505
- pip install transformers && \
506
- # b/232247930 >= 2.2.0 requires pyarrow >= 6.0.0 which conflicts with dependencies for rapidsai 0.21.*
507
- pip install datasets==2.1.0 && \
508
- pip install dlib && \
509
- pip install kaggle-environments && \
510
- pip install geopandas && \
511
- pip install nnabla && \
512
- pip install vowpalwabbit && \
513
- pip install pydub && \
514
- pip install pydegensac && \
515
- pip install torchmetrics && \
516
- pip install pytorch-lightning && \
517
- pip install datatable && \
518
- pip install sympy && \
519
- # flask is used by agents in the simulation competitions.
520
- pip install flask && \
521
- # pycrypto is used by competitions team.
522
- pip install pycrypto && \
523
- pip install easyocr && \
524
- # ipympl adds interactive widget support for matplotlib
525
- pip install ipympl==0.7.0 && \
526
- pip install pandarallel && \
527
- pip install onnx && \
528
- pip install tables && \
529
- pip install openpyxl && \
530
- pip install timm && \
531
- pip install pycolmap && \
501
+ pip install pytorch-ignite \
502
+ qgrid \
503
+ bqplot \
504
+ earthengine-api \
505
+ transformers \
506
+ # b/232247930 >= 2.2.0 requires pyarrow >= 6.0.0 which conflicts with dependencies for rapidsai 0.21.*
507
+ datasets==2.1.0 \
508
+ dlib \
509
+ kaggle-environments \
510
+ geopandas \
511
+ nnabla \
512
+ vowpalwabbit \
513
+ pydub \
514
+ pydegensac \
515
+ torchmetrics \
516
+ pytorch-lightning \
517
+ datatable \
518
+ sympy \
519
+ # flask is used by agents in the simulation competitions.
520
+ flask \
521
+ # pycrypto is used by competitions team.
522
+ pycrypto \
523
+ easyocr \
524
+ # ipympl adds interactive widget support for matplotlib
525
+ ipympl==0.7.0 \
526
+ pandarallel \
527
+ onnx \
528
+ tables \
529
+ openpyxl \
530
+ timm \
531
+ pycolmap && \
532
532
/tmp/clean-layer.sh
533
533
534
534
# Download base easyocr models.
@@ -547,11 +547,11 @@ RUN mkdir -p /root/.EasyOCR/model && \
547
547
548
548
# Tesseract and some associated utility packages
549
549
RUN apt-get install tesseract-ocr -y && \
550
- pip install pytesseract && \
551
- pip install wand && \
552
- pip install pdf2image && \
553
- pip install PyPDF && \
554
- pip install pyocr && \
550
+ pip install pytesseract \
551
+ wand \
552
+ pdf2image \
553
+ PyPDF \
554
+ pyocr && \
555
555
/tmp/clean-layer.sh
556
556
ENV TESSERACT_PATH=/usr/bin/tesseract
557
557
0 commit comments