googleapis / googleapis/python-aiplatform

Protobuf 7.35.1+ support

未关闭 适合新手
#7,132 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: vertex-ai
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

`google-cloud-aiplatform` pins `protobuf<7.0.0`, but `grpcio-tools>=1.83.0` requires `protobuf>=7.35.1`. These two ranges don't overlap, so this package can't be installed alongside a current `grpcio-tools`.

Checked via `pip download --no-deps` and reading `METADATA`:

- `google-cloud-aiplatform==2.1.0`: `protobuf!=4.21.0,...,!=4.21.5,<7.0.0,>=3.20.2`
- `grpcio-tools==1.83.0`: `protobuf<8.0.0,>=7.35.1`, `grpcio>=1.83.0`

Also, source:
- [`google-cloud-aiplatform setup.py` @ v2.1.0](https://github.com/googleapis/python-aiplatform/blob/v2.1.0/setup.py#L328): `protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5`
- [`grpcio-tools tools/distrib/python/grpcio_tools/setup.py`@v1.83.0](https://github.com/grpc/grpc/blob/v1.83.0/tools/distrib/python/grpcio_tools/setup.py#L340): `protobuf>=7.35.1,<8.0.0`

gRPC only supports the current release and the one before it ([FAQ](https://grpc.io/docs/what-is-grpc/faq/#how-long-are-grpc-releases-supported-for)), and ships roughly every 6 weeks. 1.83.0 came out 2026-07-21, so the next release will drop support for everything below it — at that point there's no supported `grpcio` left that's compatible with this cap.

Can you bump the protobuf upper bound (`<8.0.0` would match grpcio-tools) so the package stays installable with a supported gRPC
version?
Thanks!

贡献指南

打开贡献指南

调研方向

从 issue 中引用的依赖声明处开始检查 google-cloud-aiplatform setup.py,然后将其与 grpcio-tools 1.83.0 的元数据进行比较。使用 pip download 验证更新后的范围,并确认该软件包可以与受支持的 grpcio-tools 版本一起安装。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
活跃
描述清晰度
描述清楚
新手友好度
85/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。