Skip to content

Commit 3241428

Browse files
alexeagleaignas
andauthored
chore: Bazel 9 is rc now (#3394)
Work towards #3392 --------- Co-authored-by: Ignas Anikevicius <[email protected]>
1 parent a506d77 commit 3241428

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

MODULE.bazel

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,7 @@ bazel_binaries.local(
359359
)
360360
bazel_binaries.download(version = "7.4.1")
361361
bazel_binaries.download(version = "8.0.0")
362-
363-
# For now, don't test with rolling, because that's Bazel 9, which is a ways
364-
# away.
365-
# bazel_binaries.download(version = "rolling")
362+
bazel_binaries.download(version = "9.0.0rc1")
366363
use_repo(
367364
bazel_binaries,
368365
"bazel_binaries",
@@ -371,6 +368,7 @@ use_repo(
371368
"bazel_binaries_bazelisk",
372369
"build_bazel_bazel_7_4_1",
373370
"build_bazel_bazel_8_0_0",
371+
"build_bazel_bazel_9_0_0rc1",
374372
# "build_bazel_bazel_rolling",
375373
"build_bazel_bazel_self",
376374
)

tests/integration/BUILD.bazel

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@bazel_binaries//:defs.bzl", "bazel_binaries")
1615
load("@rules_bazel_integration_test//bazel_integration_test:defs.bzl", "default_test_runner")
1716
load("//python:py_library.bzl", "py_library")
1817
load(":integration_test.bzl", "rules_python_integration_test")
@@ -78,31 +77,33 @@ rules_python_integration_test(
7877

7978
rules_python_integration_test(
8079
name = "ignore_root_user_error_test",
80+
env = {
81+
"RULES_PYTHON_BZLMOD_DEBUG": "1",
82+
},
8183
)
8284

8385
rules_python_integration_test(
8486
name = "ignore_root_user_error_workspace_test",
8587
bzlmod = False,
88+
env = {
89+
"RULES_PYTHON_BZLMOD_DEBUG": "1",
90+
},
8691
workspace_path = "ignore_root_user_error",
8792
)
8893

8994
rules_python_integration_test(
9095
name = "local_toolchains_test",
91-
bazel_versions = [
92-
version
93-
for version in bazel_binaries.versions.all
94-
if not version.startswith("6.")
95-
],
96+
env = {
97+
"RULES_PYTHON_BZLMOD_DEBUG": "1",
98+
},
9699
)
97100

98101
rules_python_integration_test(
99102
name = "local_toolchains_workspace_test",
100-
bazel_versions = [
101-
version
102-
for version in bazel_binaries.versions.all
103-
if not version.startswith("6.")
104-
],
105103
bzlmod = False,
104+
env = {
105+
"RULES_PYTHON_BZLMOD_DEBUG": "1",
106+
},
106107
workspace_path = "local_toolchains",
107108
)
108109

0 commit comments

Comments
 (0)