From 269333ca8585edcc948b0bf398b170550d696922 Mon Sep 17 00:00:00 2001 From: Richard Belleville Date: Wed, 20 Jan 2021 17:10:36 -0800 Subject: [PATCH] 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. --- bazel/grpc_python_deps.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/grpc_python_deps.bzl b/bazel/grpc_python_deps.bzl index b5b8c058cc4..8f0c7db5510 100644 --- a/bazel/grpc_python_deps.bzl +++ b/bazel/grpc_python_deps.bzl @@ -51,9 +51,9 @@ def grpc_python_deps(): http_archive( name = "cython", 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 = [ - "https://github.com/cython/cython/archive/c2b80d87658a8525ce091cbe146cb7eaa29fed5c.tar.gz", + "https://github.com/cython/cython/archive/0.29.21.tar.gz", ], )