-
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
[SDK] grpc-related bugs in Python SDK #2395
Comments
related PR: #2050 I think we also need to copy |
I encountered this bug while making the push-based metrics collection demo. This issue is also related to the project. ref issue: #2340 |
Could you implement the reproducible UTs or E2E test for the |
Yes, I think we should also add some UTs or E2E tests for functions in I guess it will be better to describe the test case problem in another issue and open PRs to it. |
I have strong objections to evolving the Before we move forward, we should implement the UTs for the Whether the feature doesn't have potential regressions are big deal since Katib is not experimental project, Katib is production project. |
I agree with @tenzen-y, please let's work on the unit test for |
@tenzen-y @andreyvelich UTs for I'll work on UTs for |
/remove-label lifecycle/needs-triage |
@andreyvelich: The label(s) In response to this:
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-sigs/prow repository. |
/area sdk |
What happened?
When I called
report_metrics
in the SDK built by myself, the first error above occurred.After I modified
grpc.beta.implementations.insecure_channel
togrpc.insecure_channel
, the second error above occurred.What did you expect to happen?
After PR #2344 was merged to the main branch,
beta_create_DBManager_stub
was removed inapi_pb2.py
. But we did not make changes in the following part of codes so that the first error occurredkatib/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py
Lines 1288 to 1294 in a6c37e4
katib/sdk/python/v1beta1/kubeflow/katib/api/report_metrics.py
Lines 66 to 69 in a6c37e4
Also grpcio package after
1.0.0
has removed beta version. Sometimes we may get errors when we use beta version.katib/sdk/python/v1beta1/kubeflow/katib/api/report_metrics.py
Lines 57 to 59 in a6c37e4
katib/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py
Lines 1284 to 1286 in a6c37e4
I think we need to may some changes to Python SDK. WDYT👀 @andreyvelich @tenzen-y @johnugeorge
Environment
Kubernetes version:
Katib controller version:
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: