Skip to content

Commit b0ed08d

Browse files
committed
upd classical ml dependencies
Signed-off-by: jafraustro <jaime.fraustro.valdez@intel.com>
1 parent f56f8cc commit b0ed08d

File tree

2 files changed

+21
-33
lines changed

2 files changed

+21
-33
lines changed

preset/classical-ml/Dockerfile

+15-24
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,12 @@ RUN wget --progress=dot:giga --no-check-certificate https://github.com/conda-for
5959
export PATH="${CONDA_ROOT}/bin/:${PATH}" && \
6060
conda init --all && \
6161
conda install -y \
62-
'colorama==0.4.6' \
63-
'conda==24.5.0' \
64-
'jupyterhub==5.1.0' \
65-
'jupyter-server-proxy==4.3.0' \
66-
'mamba==1.5.8' \
67-
'networkx==3.3' \
68-
'notebook==7.2.1' \
69-
'pip==24.0' \
70-
'python==3.10.14' \
71-
'idna>=3.7' \
72-
'requests>=2.32.0' \
73-
'setuptools>=70.0.0' \
74-
'tqdm>=4.66.3' \
75-
'urllib3>=2.2.2' \
76-
'nodejs==22.5.1' \
62+
'conda==24.9.2' \
63+
'jupyterlab==4.2.5' \
64+
'jupyterhub==5.2.1' \
65+
'notebook==7.2.2' \
66+
'jupyter-server-proxy==4.4.0' \
67+
'nb_conda_kernels==2.5.1' \
7768
&& \
7869
jupyter labextension disable "@jupyterlab/apputils-extension:announcements" \
7970
&& \
@@ -98,22 +89,22 @@ RUN conda create -yn classical-ml \
9889
"dpnp=${DPNP_VERSION}" \
9990
'ipykernel==6.29.5' \
10091
'kernda==0.3.0' \
101-
'matplotlib-base==3.8.4' \
92+
'matplotlib-base==3.9.2' \
10293
"modin-ray=${MODIN_VERSION}" \
10394
'python-dotenv==1.0.1' \
10495
"scikit-learn-intelex=${SKLEARNEX_VERSION}" \
105-
'tqdm==4.66.4' \
96+
'tqdm==4.66.5' \
10697
"xgboost=${XGBOOST_VERSION}" \
107-
'idna>=3.7' \
108-
'requests>=2.32.0' \
109-
'setuptools>=70.0.0' \
110-
'tqdm>=4.66.3' \
111-
'urllib3>=2.2.2' \
98+
"setuptools>=70.0.0" \
11299
&& \
113100
conda clean -y --all
114101

115-
RUN conda run -n classical-ml python -m pip install --no-deps --no-cache-dir \
116-
'dataset-librarian==1.0.4'
102+
# PyPI packages
103+
COPY requirements.txt .
104+
RUN conda run -n 'classical-ml' python -m pip install --no-deps --no-cache-dir -r requirements.txt && \
105+
conda clean -y --all
106+
107+
RUN rm -rf requirements.txt
117108

118109
ENV PYTHONSTARTUP=~/.patch_sklearn.py
119110
COPY base/.patch_sklearn.py ~/.patch_sklearn.py

preset/classical-ml/docker-compose.yaml

+6-9
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,21 @@ services:
6060
dependency.apt.unzip: true
6161
dependency.apt.wget: true
6262
dependency.apt.xz-utils: true
63-
dependency.conda.colorama: '==0.4.6'
64-
dependency.conda.conda: '==24.5.0'
63+
dependency.conda.conda: '==24.9.2'
6564
dependency.conda.daal4py: '=2024.5.0'
6665
dependency.conda.dpnp: '=0.15.0'
6766
dependency.conda.ipykernel: '==6.29.5'
6867
dependency.conda.jupyterhub: '==5.1.0'
69-
dependency.conda.jupyter-server-proxy: '==4.3.0'
68+
dependency.conda.jupyter-server-proxy: '==4.4.0'
7069
dependency.conda.kernda: '==0.3.0'
71-
dependency.conda.mamba: '==1.5.8'
72-
dependency.conda.matplotlib-base: '==3.8.4'
70+
dependency.conda.matplotlib-base: '==3.9/2'
7371
dependency.conda.modin-ray: '=0.30.0'
74-
dependency.conda.networkx: '==3.3'
75-
dependency.conda.notebook: '==7.2.1'
76-
dependency.conda.pip: '==24.0'
72+
dependency.conda.nb_conda_kernels: '==2.5.1'
73+
dependency.conda.notebook: '==7.2.2'
7774
dependency.conda.python: '==3.10.14'
7875
dependency.conda.python-dotenv: '==1.0.1'
7976
dependency.conda.scikit-learn-intelex: '=2024.5.0'
80-
dependency.conda.tqdm: '==4.66.4'
77+
dependency.conda.tqdm: '==4.66.5'
8178
dependency.conda.xgboost: '=2.0.3'
8279
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-classical-ml-${RELEASE:-2024.2.0}-py${PYTHON_VERSION:-3.9}
8380
environment:

0 commit comments

Comments
 (0)