Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Add mypy-protobuf to dev/requirements

Why are the changes needed?

connector/connect/dev/generate_protos.sh requires this package:

DEBUG   /buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins    {"duration": "14.25µs", "http.path": "/buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins", "http.host": "api.buf.build", "http.method": "POST", "http.user_agent": "connect-go/0.4.0-dev (go1.19.2)"}
DEBUG   command {"duration": "9.238333ms"}
Failure: plugin mypy: could not find protoc plugin for name mypy

Does this PR introduce any user-facing change?

No, only for contributors

How was this patch tested?

manually check

@github-actions github-actions bot added the BUILD label Oct 10, 2022
@HyukjinKwon
Copy link
Member

@Yikun, this PR doesn't require the CI to pass.

Wanna try to merge this PR?

Copy link
Member

@Yikun Yikun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HyukjinKwon Sure, I'd like to have a try! Thanks

@Yikun Yikun closed this in 3fa958a Oct 10, 2022
@zhengruifeng zhengruifeng deleted the add_mypy-protobuf_to_requirements branch October 10, 2022 09:31
@zhengruifeng
Copy link
Contributor Author

thanks @Yikun @HyukjinKwon

@Yikun
Copy link
Member

Yikun commented Oct 10, 2022

@zhengruifeng @HyukjinKwon Thanks!

@amaliujia
Copy link
Contributor

Late +1!

I found this in my branch then I found it's fixed so fast!

DeZepTup pushed a commit to DeZepTup/spark-custom that referenced this pull request Oct 31, 2022
### What changes were proposed in this pull request?
Add `mypy-protobuf` to dev/requirements

### Why are the changes needed?
`connector/connect/dev/generate_protos.sh` requires this package:
```
DEBUG   /buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins    {"duration": "14.25µs", "http.path": "/buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins", "http.host": "api.buf.build", "http.method": "POST", "http.user_agent": "connect-go/0.4.0-dev (go1.19.2)"}
DEBUG   command {"duration": "9.238333ms"}
Failure: plugin mypy: could not find protoc plugin for name mypy
```

### Does this PR introduce _any_ user-facing change?
No, only for contributors

### How was this patch tested?
manually check

Closes apache#38186 from zhengruifeng/add_mypy-protobuf_to_requirements.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Yikun Jiang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants