mirror of
https://github.com/vale981/ray
synced 2025-03-11 21:56:39 -04:00

Updates grpc to 1.44.0 to remove local patch needed for grpc to build. EDIT: there have been changes to how python is found (mostly removing python2 support) and as such the local python-patch we have for grpc needs to be modified. This time contributing it to upstream (grpc/grpc#28895) so that it'll get added in a newer version! For anyone that comes across this: Here is the error itself for why we need the grpc-python.patch file: https://buildkite.com/ray-project/ray-builders-pr/builds/24659#d293616f-225d-41f9-8de2-03780f12b13f/2386-2416
22 lines
917 B
Diff
22 lines
917 B
Diff
From 30bd860bd8a8bb223f3aab86afc2ed28c5bd5a7d Mon Sep 17 00:00:00 2001
|
|
From: acxz <17132214+acxz@users.noreply.github.com>
|
|
Date: Thu, 17 Feb 2022 11:07:42 -0500
|
|
Subject: [PATCH] fix python command on windows
|
|
|
|
---
|
|
third_party/py/python_configure.bzl | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git third_party/py/python_configure.bzl third_party/py/python_configure.bzl
|
|
index 4e5218118ee5..7ec4459d6109 100644
|
|
--- third_party/py/python_configure.bzl
|
|
+++ third_party/py/python_configure.bzl
|
|
@@ -206,7 +206,7 @@ def _get_python_lib(repository_ctx, python_bin, lib_path_key):
|
|
" paths.append(path)\n" + "if len(paths) >=1:\n" +
|
|
" print(paths[0])\n" + "END"
|
|
)
|
|
- cmd = "%s - %s" % (python_bin, print_lib)
|
|
+ cmd = '"%s" - %s' % (python_bin, print_lib)
|
|
result = repository_ctx.execute([_get_bash_bin(repository_ctx), "-c", cmd])
|
|
return result.stdout.strip("\n")
|
|
|