This is an automated email from the ASF dual-hosted git repository. yikun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 3fa958af326 [SPARK-40725][INFRA] Add `mypy-protobuf` to dev/requirements 3fa958af326 is described below commit 3fa958af326582d8638f36f90b91fe7045f396bf Author: Ruifeng Zheng <ruife...@apache.org> AuthorDate: Mon Oct 10 17:30:12 2022 +0800 [SPARK-40725][INFRA] Add `mypy-protobuf` to dev/requirements ### 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 #38186 from zhengruifeng/add_mypy-protobuf_to_requirements. Authored-by: Ruifeng Zheng <ruife...@apache.org> Signed-off-by: Yikun Jiang <yikunk...@gmail.com> --- dev/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/requirements.txt b/dev/requirements.txt index c610d84c11a..4b47c1f6e83 100644 --- a/dev/requirements.txt +++ b/dev/requirements.txt @@ -48,4 +48,5 @@ black==22.6.0 # Spark Connect grpcio==1.48.1 -protobuf==4.21.6 \ No newline at end of file +protobuf==4.21.6 +mypy-protobuf --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org