Skip to content

Commit 91e5751

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/internal_config_repo.bzl

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy