Skip to content

[protobuf] Bump to 7.34.1 and improve type coverage#15569

Open
emmanuel-ferdman wants to merge 2 commits intopython:mainfrom
emmanuel-ferdman:protobuf-v34.1
Open

[protobuf] Bump to 7.34.1 and improve type coverage#15569
emmanuel-ferdman wants to merge 2 commits intopython:mainfrom
emmanuel-ferdman:protobuf-v34.1

Conversation

@emmanuel-ferdman
Copy link
Copy Markdown
Contributor

PR Summary

Bump protobuf stubs from 6.32.1 to 7.34.1 - removes deprecated label/float_format/float_precision params, adds new methods, replaces all Incomplete with precise types, adds missing module stubs and narrows Any to specific types.

Closes #14887

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

spark (https://github.com/apache/spark)
+ python/pyspark/sql/connect/client/core.py:1147: error: "FieldDescriptor" has no attribute "label"  [attr-defined]
+ python/pyspark/sql/connect/client/core.py:1158: error: "FieldDescriptor" has no attribute "label"  [attr-defined]
+ python/pyspark/sql/connect/client/core.py:1165: error: "FieldDescriptor" has no attribute "label"  [attr-defined]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant