发布日期: 2025-06-02
版本号: v1.72.1

这是gRPC Core 1.72.1版本的发布说明,该版本包含多项改进和错误修复,主要包括:在C++方面,保护了gRPC生成的源代码免受不需要的系统宏的影响;在Python方面,固定了Cython版本为3.1.1以解决构建不一致和内存泄漏问题,并修复了Python 3.12 MacOS通用发布包的问题。

更新内容 (中文)

这是 gRPC Core 1.72.1(gusto)版本发布。

gRPC 文档请参见 grpc.io。往期版本请参阅 发布列表

本版本包含优化、改进和错误修复,主要亮点如下。

C++

  • [回溯移植 #39266 至 v1.71.x] 保护 grpc 生成的源文件免受非预期系统宏的影响 (#39484)。

Python

  • [回溯移植 #39609 至 v1.71.x] 将 Cython 版本固定为 3.1.1 (#39632)。此更新解决了以下问题:
    • #39588 同一 grpcio 版本中发布的平台特定 wheel 文件使用了不一致的 Cython 版本。
    • cython/cython#6878 多个已发布的 grpcio wheel 文件使用了 Cython 3.1.0 构建,在使用 AsyncIO API(grpc.aio.*)时受 Cython 内存泄漏问题影响。
  • [回溯移植 #39418 至 v1.71.x] 修复 Python 3.12 MacOS 通用版发布产物问题 (#39504)。

更新内容 (原始)

This is release gRPC Core 1.72.1 (gusto).

For gRPC documentation, see grpc.io. For previous releases, see Releases.

This release contains refinements, improvements, and bug fixes, with highlights listed below.

C++

  • [Backport of #39266 to v1.71.x] Protect grpc generated sources from unwanted system macros (#39484).

Python

  • [Backport of #39609 to v1.71.x] Pin Cython to 3.1.1 (#39632). This addresses several issues:
    • #39588 Using inconsistent Cython version in released platform-specific wheels within the same grpcio release.
    • cython/cython#6878 Several published grpcio wheels were built with Cython 3.1.0 and are affected by Cython memory leak issue when using AsyncIO APIs (grpc.aio.*).
  • [Backport of #39418 to v1.71.x] Fix Python 3.12 MacOS universal release artifact (#39504).

下载链接