Skip to content

Commit

Permalink
Fixing MLCube and KubeFlow runner for python 3.6. (#359)
Browse files Browse the repository at this point in the history
To use MLCube ecosystem with Python 3.6, the following is introduced in this commit:

[MLCube]
- The cookiecutter version is downgraded for python 3.6, for 3.7 and above it remains as it was before - 2.1.1.

[KubeFlow runner]
- The protobuf version is downgraded to 3.19.6 for python 3.6, for 3.7 and above it remains as it was before - 3.20.3.
- The kfp version is downgraded to 1.8.5 for python 3.6, for 3.7 and above it remains as it was before - 1.8.22.
  • Loading branch information
sergey-serebryakov authored Jun 20, 2024
1 parent dbe4015 commit 37a213d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion mlcube/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
click>=8.0.0,<9.0.0
coloredlogs==14.0
cookiecutter==2.1.1
cookiecutter==1.7.3;python_version<"3.7"
cookiecutter==2.1.1;python_version>="3.7"
omegaconf==2.1.0
markdown
8 changes: 6 additions & 2 deletions runners/mlcube_kubeflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
mlcube==0.0.10rc2
protobuf==3.20.3
kfp==1.8.22
protobuf==3.19.6;python_version<"3.7"
protobuf==3.20.3;python_version>="3.7"

# For p3.6 we need https://pypi.org/project/kfp-pipeline-spec/0.1.13/ python >=3.5.3
kfp==1.8.5;python_version<"3.7"
kfp==1.8.22;python_version>="3.7"

0 comments on commit 37a213d

Please sign in to comment.