Skip to content

Conversation

@amaliujia
Copy link
Contributor

What changes were proposed in this pull request?

mypy-protobuf is only needed when the connect proto is changed and then to use generate_protos.sh to update python side generated proto files. We should mark this dependency as optional for people who do not care.

Why are the changes needed?

mypy-protobuf can be optional dependency for people who do not touch connect proto files.

Does this PR introduce any user-facing change?

No

How was this patch tested?

N/A

@github-actions github-actions bot added the BUILD label Oct 10, 2022
@amaliujia
Copy link
Contributor Author

R: @zhengruifeng

@zhengruifeng
Copy link
Contributor

Merged into master, thanks @amaliujia

@amaliujia amaliujia deleted the dev_requirements branch October 11, 2022 02:23
DeZepTup pushed a commit to DeZepTup/spark-custom that referenced this pull request Oct 31, 2022
…ndency for Spark Connect

### What changes were proposed in this pull request?

`mypy-protobuf` is only needed when the connect proto is changed and then to use [generate_protos.sh](https://github.com/apache/spark/blob/master/connector/connect/dev/generate_protos.sh) to update python side generated proto files. We should mark this dependency as optional for people who do not care.

### Why are the changes needed?

`mypy-protobuf` can be optional dependency for people who do not touch connect proto files.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

N/A

Closes apache#38195 from amaliujia/dev_requirements.

Authored-by: Rui Wang <rui.wang@databricks.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
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.

2 participants