Skip to content
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

[sdk] <Bug Name> #9330

Closed
maganaluis opened this issue May 4, 2023 · 5 comments
Closed

[sdk] <Bug Name> #9330

maganaluis opened this issue May 4, 2023 · 5 comments
Assignees
Labels
area/sdk kind/bug lifecycle/stale The issue / pull request is stale, any activities remove this label.

Comments

@maganaluis
Copy link
Contributor

Environment

  • KFP version: 2.0.0-alpha.5
  • KFP SDK version: 2.0.0b15
  • All dependencies version: N/A

Steps to reproduce

The following import fails, and this is currently how many examples are setup in the master branch.

import kfp.deprecated.components as components
...
site-packages/kfp/deprecated/_client.py", line 396, in Client
def get_kfp_healthz(self) -> kfp_server_api.ApiGetHealthzResponse:
AttributeError: module 'kfp_server_api' has no attribute 'ApiGetHealthzResponse'. Did you mean: 'V2beta1GetHealthzResponse'?

Expected result

Expect the import import kfp.deprecated.components as components to work without errors.

Materials and Reference

The import as been failing since b13, I would expect this import to work since users will be refericing the master branhc as away to stay up to date with Kubeflow Pipelines.


Impacted by this bug? Give it a 👍.

@chensun
Copy link
Member

chensun commented May 17, 2023

On kfp sdk 2.0.0b15, when you initialize the client, there should be a warning message says This client only works with Kubeflow Pipeline v2.0.0-beta.1. Recommend to upgrade both deployment and sdk to our latest release 2.0.0-rc.1 if you want to try out v2 features.

@papagala
Copy link
Contributor

I have the same issue even with sdk version 2.0.1. Another way of running into this error:

In [9]: import kfp.deprecated

AttributeError: module 'kfp_server_api' has no attribute 'ApiGetHealthzResponse'

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Oct 25, 2023
Copy link

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

Copy link

@laser13: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sdk kind/bug lifecycle/stale The issue / pull request is stale, any activities remove this label.
Projects
Status: Closed
Development

No branches or pull requests

3 participants