Commit 3ca4b67
committed
Upgrade to rules_python 1.7.0 (FAILS)
This demonstrates the regression in rules_python 1.7.0 where
%interpreter_args% template placeholders are not substituted for
external py_binary targets.
Building the same target now fails:
bazel build @com_github_grpc_grpc//src/python/grpcio/grpc/_cython:cygrpc.pyx_cython_translation
Error:
File ".../cython_binary", line 39
%interpreter_args%
^
SyntaxError: invalid syntax
Root cause: PR #3242 introduced new template variables that native
py_binary doesn't substitute.
Fix: bazel-contrib/rules_python#34951 parent 1bb07d8 commit 3ca4b67
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments