Skip to content

Commit

Permalink
Remove catboost (#1387)
Browse files Browse the repository at this point in the history
* Remove catboost

* Remove catboost from dockerfile
  • Loading branch information
koropets authored Jun 26, 2024
1 parent 43e54f8 commit 21f7f36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ RUN rm -rf /code/dist \
# Extract a few big dependencies which docker will cache even when other dependencies change
RUN cat /code/requirements/full_requirements.txt | grep tensorflow== > /code/prereq.txt \
&& cat /code/requirements/full_requirements.txt | grep pyarrow== >> /code/prereq.txt \
&& cat /code/requirements/full_requirements.txt | grep scipy== >> /code/prereq.txt \
&& cat /code/requirements/full_requirements.txt | grep catboost== >> /code/prereq.txt
&& cat /code/requirements/full_requirements.txt | grep scipy== >> /code/prereq.txt

FROM python:3.10-slim-bookworm

Expand Down Expand Up @@ -71,7 +70,7 @@ ADD build.sh ${HOME}/build.sh
RUN cp ${HOME}/build.sh /usr/bin/build \
&& chmod a+x /usr/bin/build

# Run things from gordo's home to have write access when needed (e.g. Catboost tmp files)
# Run things from gordo's home to have write access when needed
WORKDIR ${HOME}

#download & install argo
Expand Down
19 changes: 3 additions & 16 deletions requirements/full_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ blinker==1.7.0
# via flask
cachetools==5.3.2
# via gordo-core
catboost==1.2.2
# via -r requirements.in
certifi==2023.11.17
# via
# msrest
Expand Down Expand Up @@ -136,8 +134,8 @@ gordo-client==6.2.8
# via -r requirements.in
gordo-core==0.3.5
# via gordo-client
graphviz==0.20.1
# via catboost
greenlet==3.0.3
# via sqlalchemy
grpcio==1.60.0
# via
# tensorboard
Expand Down Expand Up @@ -211,9 +209,7 @@ markupsafe==2.1.4
marshmallow==3.20.2
# via dataclasses-json
matplotlib==3.8.2
# via
# catboost
# mlflow
# via mlflow
mdurl==0.1.2
# via markdown-it-py
ml-dtypes==0.3.2
Expand Down Expand Up @@ -249,7 +245,6 @@ numexpr==2.8.8
# via gordo-core
numpy==1.24.3
# via
# catboost
# contourpy
# gordo-core
# h5py
Expand Down Expand Up @@ -283,12 +278,10 @@ packaging==21.3
# marshmallow
# matplotlib
# mlflow
# plotly
# tensorflow
# xarray
pandas==1.5.3
# via
# catboost
# gordo-core
# mlflow
# xarray
Expand All @@ -302,8 +295,6 @@ pillow==10.2.0
# via matplotlib
pkginfo==1.9.6
# via azureml-core
plotly==5.18.0
# via catboost
portalocker==2.8.2
# via msal-extensions
prometheus-client==0.19.0
Expand Down Expand Up @@ -395,7 +386,6 @@ scikit-learn==1.5.0
# scikeras
scipy==1.12.0
# via
# catboost
# gordo-core
# mlflow
# scikit-learn
Expand All @@ -409,7 +399,6 @@ six==1.16.0
# via
# astunparse
# azure-core
# catboost
# databricks-cli
# google-pasta
# influxdb
Expand All @@ -431,8 +420,6 @@ tabulate==0.9.0
# via
# databricks-cli
# knack
tenacity==8.2.3
# via plotly
tensorboard==2.16.2
# via tensorflow
tensorboard-data-server==0.7.2
Expand Down
1 change: 0 additions & 1 deletion requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ scikeras~=0.13.0
keras<3.4.0
Flask>=2.2.5,<3.0.0
simplejson~=3.17
catboost~=1.2.2
prometheus_client~=0.7
# Due to azureml-core 1.49.0 depends on packaging<22.0
packaging>=21.0,<22.0
Expand Down

0 comments on commit 21f7f36

Please sign in to comment.