Skip to content

Commit 8607ef7

Browse files
authored
Merge pull request #467 from harshad16/upgrade-elyra
Upgrade Elyra with odh-elyra for kfp v2 support
2 parents 61c1a1e + 55d410d commit 8607ef7

File tree

14 files changed

+1617
-1510
lines changed

14 files changed

+1617
-1510
lines changed

jupyter/datascience/ubi8-python-3.8/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ RUN mkdir /opt/app-root/runtimes && \
5555
sed -i "s/Kubeflow Pipelines/Data Science/g" /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/runtime_type.py && \
5656
sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
5757
sed -i "s/kubeflow-service/data-science-pipeline-service/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
58-
sed -i "s/\"default\": \"Argo\",/\"default\": \"Tekton\",/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
59-
# Workaround for passing ssl_sa_cert
60-
patch /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/kfp/kfp_authentication.py -i utils/kfp_authentication.patch && \
61-
patch /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/kfp/processor_kfp.py -i utils/processor_kfp.patch && \
62-
# Workaround for elyra pipeline validation command
63-
patch /opt/app-root/lib/python3.8/site-packages/elyra/cli/pipeline_app.py -i utils/pipeline_app.patch && \
64-
patch /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/pipeline_definition.py -i utils/pipeline_definition.patch && \
6558
# switch to Data Science Pipeline in component catalog \
6659
DIR_COMPONENT="/opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/local-directory-catalog.json" && \
6760
FILE_COMPONENT="/opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/local-file-catalog.json" && \

jupyter/datascience/ubi8-python-3.8/Pipfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ plotly = "~=5.20.0"
1616
scikit-learn = "~=1.3.2"
1717
scipy = "~=1.10.1"
1818
skl2onnx = "~=1.16.0"
19+
onnxconverter-common = "~=1.13.0" # Required for skl2onnx, as upgraded version is not compatible with protobuf
1920
codeflare-sdk = "~=0.14.1"
2021

2122
# DB connectors
@@ -25,18 +26,15 @@ pyodbc = "~=5.1.0"
2526
mysql-connector-python = "~=8.3.0"
2627

2728
# JupyterLab packages
28-
elyra-pipeline-editor-extension = ">=3.15.0"
29-
elyra-python-editor-extension = ">=3.15.0"
30-
elyra-code-snippet-extension = ">=3.15.0"
31-
kfp-tekton = "<1.6.0"
29+
odh-elyra = "~=3.16.1"
3230

3331
jupyterlab = "~=3.6.7" # Wait on upgrade till plugins are ready
3432
jupyter-bokeh = "~=3.0.7" # Upgrade would bring in jupyterlab 4
3533
jupyter-server = "~=2.13.0"
3634
jupyter-server-proxy = "~=4.0.0" # Upgrade would bring in jupyterlab 4
3735
jupyter-server-terminals = "~=0.5.3"
3836
jupyterlab-git = "~=0.44.0"
39-
jupyterlab-lsp = "~=4.3.0"
37+
jupyterlab-lsp = "~=4.2.0"
4038
jupyterlab-widgets = "~=3.0.10"
4139
jupyter-resource-usage = "~=0.7.2"
4240
nbdime = "~=3.2.1"

jupyter/datascience/ubi8-python-3.8/Pipfile.lock

Lines changed: 267 additions & 247 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyter/datascience/ubi9-python-3.9/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ RUN mkdir /opt/app-root/runtimes && \
5555
sed -i "s/Kubeflow Pipelines/Data Science/g" /opt/app-root/lib/python3.9/site-packages/elyra/pipeline/runtime_type.py && \
5656
sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/kfp.json && \
5757
sed -i "s/kubeflow-service/data-science-pipeline-service/g" /opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/kfp.json && \
58-
sed -i "s/\"default\": \"Argo\",/\"default\": \"Tekton\",/g" /opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/kfp.json && \
59-
# Workaround for passing ssl_sa_cert and to ensure that Elyra redirects to a correct pipeline run URL
60-
patch /opt/app-root/lib/python3.9/site-packages/elyra/pipeline/kfp/kfp_authentication.py -i utils/kfp_authentication.patch && \
61-
patch /opt/app-root/lib/python3.9/site-packages/elyra/pipeline/kfp/processor_kfp.py -i utils/processor_kfp.patch && \
62-
# Workaround for elyra pipeline validation command
63-
patch /opt/app-root/lib/python3.9/site-packages/elyra/cli/pipeline_app.py -i utils/pipeline_app.patch && \
64-
patch /opt/app-root/lib/python3.9/site-packages/elyra/pipeline/pipeline_definition.py -i utils/pipeline_definition.patch && \
6558
# switch to Data Science Pipeline in component catalog \
6659
DIR_COMPONENT="/opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/local-directory-catalog.json" && \
6760
FILE_COMPONENT="/opt/app-root/lib/python3.9/site-packages/elyra/metadata/schemas/local-file-catalog.json" && \

jupyter/datascience/ubi9-python-3.9/Pipfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ plotly = "~=5.20.0"
1616
scikit-learn = "~=1.4.0"
1717
scipy = "~=1.12.0"
1818
skl2onnx = "~=1.16.0"
19+
onnxconverter-common = "~=1.13.0" # Required for skl2onnx, as upgraded version is not compatible with protobuf
1920
codeflare-sdk = "~=0.14.1"
2021

2122
# DB connectors
@@ -25,18 +26,15 @@ pyodbc = "~=5.1.0"
2526
mysql-connector-python = "~=8.3.0"
2627

2728
# JupyterLab packages
28-
elyra-pipeline-editor-extension = ">=3.15.0"
29-
elyra-python-editor-extension = ">=3.15.0"
30-
elyra-code-snippet-extension = ">=3.15.0"
31-
kfp-tekton = "<1.6.0"
29+
odh-elyra = "~=3.16.1"
3230

3331
jupyterlab = "~=3.6.7" # Wait on upgrade till plugins are ready
3432
jupyter-bokeh = "~=3.0.7" # Upgrade would bring in jupyterlab 4
3533
jupyter-server = "~=2.13.0"
3634
jupyter-server-proxy = "~=4.0.0" # Upgrade would bring in jupyterlab 4
3735
jupyter-server-terminals = "~=0.5.3"
3836
jupyterlab-git = "~=0.44.0"
39-
jupyterlab-lsp = "~=4.3.0"
37+
jupyterlab-lsp = "~=4.2.0"
4038
jupyterlab-widgets = "~=3.0.10"
4139
jupyter-resource-usage = "~=0.7.2"
4240
nbdime = "~=3.2.1"

0 commit comments

Comments
 (0)