-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python SDK for Katib and Kubeflow Pipelines can not be installed at the same time #2346
Comments
For those wondering, the latest versions which will work together are: pip install kfp==2.5.0 kubeflow-katib==0.16.0 |
Can the @kubeflow/pipelines and @kubeflow/wg-automl-leads please work together to try and prevent these kind of dependency conflicts in the python packages, so we can always install the latest versions of both in Kubeflow Notebooks? |
I have raised a similar issue for KServe, which also has a dependency conflict with |
/assign |
What happened?
Currently, If you try install the latest versions of the
kfp
andkubeflow-katib
libraries at the same time, there is a dependency version conflict.This is caused by a number of conflicts:
kfp==2.7.0
needsprotobuf>=4.21.1,<5
butkubeflow-katib
needsprotobuf>=3.19.5,<=3.20.3
kfp==2.7.0
needskubernetes>=8.0.0,<27
butkubeflow-katib
needskubernetes>=27.2.0
See for yourself by trying the following command:
What did you expect to happen?
The latest versions of both
kfp
andkubeflow-katib
can be installed at the same time.Environment
Kubernetes version:
Katib controller version:
$ kubectl get pods -n kubeflow -l katib.kubeflow.org/component=controller -o jsonpath="{.items[*].spec.containers[*].image}"
Katib Python SDK version:
Impacted by this bug?
Give it a 👍 We prioritize the issues with most 👍
The text was updated successfully, but these errors were encountered: