Skip to content

Commit 04a2b83

Browse files
authored
updating Anaconda dependencies (#476)
* updating Anaconda dependencies * add line to EOF * removing references for elyra * removing 1 more elyra * updated for yaml linting
1 parent c010eb0 commit 04a2b83

File tree

4 files changed

+203
-356
lines changed

4 files changed

+203
-356
lines changed

base/anaconda-python-3.8/environment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
dependencies:
66
- _libgcc_mutex=0.1=main
77
- _openmp_mutex=5.1=1_gnu
8-
- ca-certificates=2023.08.22=h06a4308_0
8+
- ca-certificates=2024.3.11=h06a4308_0
99
- icu=73.1=h6a678d5_0
1010
- ld_impl_linux-64=2.38=h1181459_1
1111
- libffi=3.4.4=h6a678d5_0
@@ -14,15 +14,15 @@ dependencies:
1414
- libstdcxx-ng=11.2.0=h1234567_1
1515
- libuv=1.44.2=h5eee18b_0
1616
- ncurses=6.4=h6a678d5_0
17-
- nodejs=18.16.0=h2d74bed_1
18-
- openssl=3.0.12=h7f8727e_0
17+
- nodejs=18.18.2=h2d74bed_0
18+
- openssl=3.0.13=h7f8727e_0
1919
- pip=23.3.1=py38h06a4308_0
2020
- python=3.8.18=h955ad1f_0
2121
- readline=8.2=h5eee18b_0
22-
- setuptools=68.0.0=py38h06a4308_0
22+
- setuptools=68.2.2=py38h06a4308_0
2323
- sqlite=3.41.2=h5eee18b_0
2424
- tk=8.6.12=h1ccaba5_0
2525
- wheel=0.41.2=py38h06a4308_0
26-
- xz=5.4.2=h5eee18b_0
26+
- xz=5.4.6=h5eee18b_0
2727
- zlib=1.2.13=h5eee18b_0
2828
prefix: /opt/app-root

jupyter/datascience/anaconda-python-3.8/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@ COPY utils utils/
2626
# Install Python packages and Jupyterlab extensions from conda environment file
2727
COPY environment.yml start-notebook.sh ./
2828
# Copy Elyra setup to utils so that it's sourced at startup
29-
COPY jupyter_elyra_config.py setup-elyra.sh pipeline-flow.svg ./utils/
29+
#COPY jupyter_elyra_config.py setup-elyra.sh pipeline-flow.svg ./utils/
3030

3131
RUN echo "Installing softwares and packages" && \
3232
/opt/anaconda3/bin/conda env update -p "${APP_ROOT}" --file environment.yml && \
3333
rm -f ./environment.yml && \
3434
# setup path for runtime configuration \
3535
mkdir /opt/app-root/runtimes && \
3636
# switch to Data Science Pipeline \
37-
cp utils/pipeline-flow.svg /opt/app-root/lib/python3.8/site-packages/elyra/static/icons/kubeflow.svg && \
38-
sed -i "s/Kubeflow Pipelines/Data Science/g" /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/runtime_type.py && \
39-
sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
40-
sed -i "s/\"default\": \"Argo\",/\"default\": \"Tekton\",/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
37+
# cp utils/pipeline-flow.svg /opt/app-root/lib/python3.8/site-packages/elyra/static/icons/kubeflow.svg && \
38+
# sed -i "s/Kubeflow Pipelines/Data Science/g" /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/runtime_type.py && \
39+
# sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
40+
# sed -i "s/\"default\": \"Argo\",/\"default\": \"Tekton\",/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
4141
# Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y \
4242
sed -i -e "s/Python.*/$(python --version)\",/" /opt/app-root/share/jupyter/kernels/python3/kernel.json && \
4343
# Remove default Elyra runtime-images \
44-
rm /opt/app-root/share/jupyter/metadata/runtime-images/*.json && \
44+
# rm /opt/app-root/share/jupyter/metadata/runtime-images/*.json && \
4545
# Fix permissions to support pip in Openshift environments \
4646
chmod -R g+w /opt/app-root/lib/python3.8/site-packages && \
4747
fix-permissions /opt/app-root -P
4848

4949
# Copy Elyra runtime-images definitions and set the version
50-
COPY runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/
50+
# COPY runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/
5151

5252
USER root
5353
RUN mkdir /etc/conda
Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
boto3~=1.28
1+
boto3~=1.34
22
kafka-python~=2.0
3-
matplotlib~=3.6
3+
matplotlib~=3.7
44
numpy~=1.24
5-
pandas~=1.5
6-
plotly~=5.16
5+
pandas~=2.0
6+
plotly~=5.20
77
scikit-learn~=1.3
88
scipy~=1.10
9-
skl2onnx~=1.15
10-
pymongo~=4.5
9+
skl2onnx~=1.16
10+
onnxconverter-common~=1.13
11+
pymongo~=4.6
1112
psycopg~=3.1
12-
pyodbc~=4.0
13-
mysql-connector-python~=8.0
14-
elyra-pipeline-editor-extension>=3.15
15-
elyra-python-editor-extension>=3.15
16-
elyra-code-snippet-extension>=3.15
13+
pyodbc~=5.1
14+
mysql-connector-python~=8.3
1715
jupyterlab~=3.6
1816
jupyter_bokeh~=3.0
19-
jupyter_server~=2.7
17+
jupyter_server~=2.13
2018
jupyter-server-proxy~=4.0
21-
jupyter_server_terminals~=0.4
22-
jupyterlab-git~=0.42
19+
jupyter_server_terminals~=0.5
20+
jupyterlab-git~=0.44
2321
jupyterlab-lsp~=4.2
2422
jupyterlab_widgets~=3.0
25-
jupyter-resource-usage~=0.6
23+
jupyter-resource-usage~=0.7
2624
nbdime~=3.2
2725
nbgitpuller~=1.2

0 commit comments

Comments
 (0)