Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 91e5751

Browse filesBrowse files
authored
fix: Bazel version check (bazel-contrib#2393)
Version check needs to work on Bazel@HEAD as well and version later than Bazel 8.
1 parent 576e6dc commit 91e5751
Copy full SHA for 91e5751

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎python/private/internal_config_repo.bzl

Copy file name to clipboardExpand all lines: python/private/internal_config_repo.bzl
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _internal_config_repo_impl(rctx):
6868
else:
6969
enable_pystar = False
7070

71-
if native.bazel_version.startswith("8."):
71+
if not native.bazel_version or int(native.bazel_version.split(".")[0]) >= 8:
7272
builtin_py_info_symbol = "None"
7373
builtin_py_runtime_info_symbol = "None"
7474
builtin_py_cc_link_params_provider = "None"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.