Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

fix hellogrpc/py examples by adding dependency #152

Merged
merged 1 commit into from
Jun 28, 2018

Conversation

erain
Copy link
Contributor

@erain erain commented Jun 28, 2018

  • All current Travis CI would fail because hellogrpc/py e2e test would
    fail. This PR fix this test, so that Travis CI works again.

  • hellogprc/py server would produce a py_image which is failed to
    start because of missing a dependency:

Traceback (most recent call last):
  File "/app/hello_grpc/py/server/server.binary.runfiles/__main__/hello_grpc/py/server/server.py", line 1, in <module>
    import grpc
  File "/app/hello_grpc/py/server/server.binary.runfiles/pypi__grpcio_1_6_0/grpc/__init__.py", line 22, in <module>
    from grpc._cython import cygrpc as _cygrpc
  File "src/python/grpcio/grpc/_cython/cygrpc.pyx", line 17, in init grpc._cython.cygrpc (src/python/grpcio/grpc/_cython/cygrpc.c:29041)
  • Adding setuptools in requirements fixes the problem.

* All current Travis CI would fail because hellogrpc/py e2e test would
  fail. This PR fix this test, so that Travis CI works again.

* hellogprc/py server would produce a py_image which is failed to
  start because of missing a dependency:

``` bash
Traceback (most recent call last):
  File "/app/hello_grpc/py/server/server.binary.runfiles/__main__/hello_grpc/py/server/server.py", line 1, in <module>
    import grpc
  File "/app/hello_grpc/py/server/server.binary.runfiles/pypi__grpcio_1_6_0/grpc/__init__.py", line 22, in <module>
    from grpc._cython import cygrpc as _cygrpc
  File "src/python/grpcio/grpc/_cython/cygrpc.pyx", line 17, in init grpc._cython.cygrpc (src/python/grpcio/grpc/_cython/cygrpc.c:29041)
```

* Adding setuptools in requirements fixes the problem.
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:

Assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot
Copy link

Hi @erain. Thanks for your PR.

I'm waiting for a bazelbuild member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

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.

@erain
Copy link
Contributor Author

erain commented Jun 28, 2018

/ok-to-test

@erain
Copy link
Contributor Author

erain commented Jun 28, 2018

I don't know why my /ok-to-test doesn't work (I am a member of bazelbuild).

Merge this PR since it will fix Travis CI and unblock other PRs to merge.

@erain erain merged commit 90f491b into master Jun 28, 2018
@erain erain deleted the fix/hellogrpc-py-deps-2 branch June 28, 2018 20:13
@fejta fejta restored the fix/hellogrpc-py-deps-2 branch June 28, 2018 20:13
@fejta fejta deleted the fix/hellogrpc-py-deps-2 branch June 28, 2018 20:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants