浏览代码

Bump Cython version.

A breaking C-level API change was made in Python 3.9 which old versions
of Cython cannot handle. Since Bazel prescribes a single version of
dependency instead of ranges, like in setuptools, we must update this to
keep our downstream users working properly.

As a side note, since it was a point of confusion while debugging this,
interpreter versions installed by pyenv must be set *globally* rather
than just locally for Bazel to pick them up, since local pyenv
configuration will not be picked up from within the sandbox.
Richard Belleville 4 年之前
父节点
当前提交
269333ca85
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      bazel/grpc_python_deps.bzl

+ 3 - 3
bazel/grpc_python_deps.bzl

@@ -51,9 +51,9 @@ def grpc_python_deps():
         http_archive(
         http_archive(
             name = "cython",
             name = "cython",
             build_file = "@com_github_grpc_grpc//third_party:cython.BUILD",
             build_file = "@com_github_grpc_grpc//third_party:cython.BUILD",
-            sha256 = "d68138a2381afbdd0876c3cb2a22389043fa01c4badede1228ee073032b07a27",
-            strip_prefix = "cython-c2b80d87658a8525ce091cbe146cb7eaa29fed5c",
+            sha256 = "e2e38e1f0572ca54d6085df3dec8b607d20e81515fb80215aed19c81e8fe2079",
+            strip_prefix = "cython-0.29.21",
             urls = [
             urls = [
-                "https://github.com/cython/cython/archive/c2b80d87658a8525ce091cbe146cb7eaa29fed5c.tar.gz",
+                "https://github.com/cython/cython/archive/0.29.21.tar.gz",
             ],
             ],
         )
         )