[Feature Request]: Support Protobuf 7.x in Python SDK
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- build-system
调研方向
protobuf 的版本固定位于 sdks/python/setup.py 中。请先找到现有的 protobuf 依赖要求,以及之前提升上限版本时相关的变更 #35432 和 #35477。然后更新版本上限,并在安装 protobuf 7.x 的情况下运行 Python SDK 单元测试,检查是否存在兼容性问题。完成标准是上限允许 7.x 且测试全部通过。
由索引模型根据 Issue 内容生成。
描述
What would you like to happen?
Currently Apache Beam pins protobuf>=3.20.3,<7.0.0.dev0 in sdks/python/setup.py.
- Protobuf 7.34.0 was released on February 27, 2026: https://pypi.org/project/protobuf/7.34.0/ (latest is 7.36.2: https://pypi.org/project/protobuf/7.36.2/)
- https://github.com/protocolbuffers/protobuf/releases/tag/v34.0 is the corresponding release, and
protoc >= 34.x(including Protobuf Edition 2024 codegen) emits Python gencode that requiresprotobuf >= 7.xat runtime. - Downstream Google Cloud dependencies (
google-api-core,proto-plus,grpcio-status,google-cloud-bigquery) already allowprotobuf<8.0.0.
Can we update the upper bound to <8.0.0.dev0 and support Protobuf 7.x in the Python SDK (following #35432 / #35477)?
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components
- Component: Python SDK
- Component: Java SDK
- Component: Go SDK
- Component: Typescript SDK
- Component: IO connector
- Component: Beam YAML
- Component: Beam examples
- Component: Beam playground
- Component: Beam katas
- Component: Website
- Component: Infrastructure
- Component: Spark Runner
- Component: Flink Runner
- Component: Samza Runner
- Component: Twister2 Runner
- Component: Hazelcast Jet Runner
- Component: Google Cloud Dataflow Runner
- 主要语言
- Java
- 星标
- 8.7k
- 派生
- 4.7k
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 278
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/beam 的其他 Issue
-
[Bug]: Row.toString throws for an ITERABLE field that is not backed by a List可能已有人在做 @PDGGK 于 66 天前认领。 未关闭java P3
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/beam#39624 · 2 个 reaction ·
维护者通常 1 天内回复
-
[Bug]: PubsubIO used in batch incorrect batch cutoff size可能已有人在做 @1fanwang 于 54 天前认领。 未关闭bug io P3 pinned pubsub
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
build P3 sub-task
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复
-
bug gcp io java P3
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 1 天内回复
相似的 Issue
-
[Bug] dubbo.protocol.triple.max-message-size is only read from OS environment variables可能已有人在做 @CCCLL 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
hierynomus/sshj#1070 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
quarkiverse/quarkus-jooq#324 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/rocketmq-dashboard#7039 ·
维护者通常 3 天内回复
-
pdfium-drift
难度 1/5 1 小时以内 新手友好度 82/100
Stirling-Tools/JPDFium#176 ·
维护者通常 1 天内回复