@@ -105,40 +105,40 @@ def get_githash():
105
105
106
106
# Bazel
107
107
108
- BAZEL_BASE_URI = "https://github.com/bazelbuild/bazel/releases/download/6.1.2 /"
108
+ BAZEL_BASE_URI = "https://github.com/bazelbuild/bazel/releases/download/6.5.0 /"
109
109
BazelPackage = collections .namedtuple ("BazelPackage" ,
110
110
["base_uri" , "file" , "sha256" ])
111
111
bazel_packages = {
112
112
("Linux" , "x86_64" ):
113
113
BazelPackage (
114
114
base_uri = None ,
115
- file = "bazel-6.1.2 -linux-x86_64" ,
115
+ file = "bazel-6.5.0 -linux-x86_64" ,
116
116
sha256 =
117
- "e89747d63443e225b140d7d37ded952dacea73aaed896bca01ccd745827c6289 " ),
117
+ "a40ac69263440761199fcb8da47ad4e3f328cbe79ffbf4ecc14e5ba252857307 " ),
118
118
("Linux" , "aarch64" ):
119
119
BazelPackage (
120
120
base_uri = None ,
121
- file = "bazel-6.1.2 -linux-arm64" ,
121
+ file = "bazel-6.5.0 -linux-arm64" ,
122
122
sha256 =
123
- "1c9b249e315601c3703c41668a1204a8fdf0eba7f0f2b7fc38253bad1d1969c7 " ),
123
+ "5afe973cadc036496cac66f1414ca9be36881423f576db363d83afc9084c0c2f " ),
124
124
("Darwin" , "x86_64" ):
125
125
BazelPackage (
126
126
base_uri = None ,
127
- file = "bazel-6.1.2 -darwin-x86_64" ,
127
+ file = "bazel-6.5.0 -darwin-x86_64" ,
128
128
sha256 =
129
- "22d4b605ce6a7aad92d4f387458cc68de9907a2efa08f9b8bda244c2b6010561 " ),
129
+ "bbf9c2c03bac48e0514f46db0295027935535d91f6d8dcd960c53393559eab29 " ),
130
130
("Darwin" , "arm64" ):
131
131
BazelPackage (
132
132
base_uri = None ,
133
- file = "bazel-6.1.2 -darwin-arm64" ,
133
+ file = "bazel-6.5.0 -darwin-arm64" ,
134
134
sha256 =
135
- "30cdf85af055ca8fdab7de592b1bd64f940955e3f63ed5c503c4e93d0112bd9d " ),
135
+ "c6b6dc17efcdf13fba484c6fe0b6c3361b888ae7b9573bc25a2dbe8c502448eb " ),
136
136
("Windows" , "AMD64" ):
137
137
BazelPackage (
138
138
base_uri = None ,
139
- file = "bazel-6.1.2 -windows-x86_64.exe" ,
139
+ file = "bazel-6.5.0 -windows-x86_64.exe" ,
140
140
sha256 =
141
- "47e7f65a3bfa882910f76e2107b4298b28ace33681bd0279e25a8f91551913c0 " ),
141
+ "6eae8e7f28e1b68b833503d1a58caf139c11e52de19df0d787d974653a0ea4c6 " ),
142
142
}
143
143
144
144
@@ -201,7 +201,7 @@ def get_bazel_paths(bazel_path_flag):
201
201
202
202
def get_bazel_path (bazel_path_flag ):
203
203
"""Returns the path to a Bazel binary, downloading Bazel if not found. Also,
204
- checks Bazel's version is at least newer than 5.1.1
204
+ checks Bazel's version is at least newer than 6.5.0
205
205
206
206
A manual version check is needed only for really old bazel versions.
207
207
Newer bazel releases perform their own version check against .bazelversion
@@ -210,11 +210,11 @@ def get_bazel_path(bazel_path_flag):
210
210
"""
211
211
for path in filter (None , get_bazel_paths (bazel_path_flag )):
212
212
version = get_bazel_version (path )
213
- if version is not None and version >= (5 , 1 , 1 ):
213
+ if version is not None and version >= (6 , 5 , 0 ):
214
214
return path , "." .join (map (str , version ))
215
215
216
216
print ("Cannot find or download a suitable version of bazel."
217
- "Please install bazel >= 5.1.1 ." )
217
+ "Please install bazel >= 6.5.0 ." )
218
218
sys .exit (- 1 )
219
219
220
220
0 commit comments