Skip to content

Commit c218d03

Browse files
committed
chore: remove testing of Bazel 7
1 parent b4ec825 commit c218d03

File tree

7 files changed

+9
-17
lines changed

7 files changed

+9
-17
lines changed

.bazelci/presubmit.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ buildifier:
1818
# Use a specific version to avoid skew issues when new versions are released.
1919
version: 8.2.1
2020
warnings: "all"
21-
# NOTE: Minimum supported version is 7.x
21+
# NOTE: Minimum supported version is 8.x
2222
.minimum_supported_version: &minimum_supported_version
2323
# For testing minimum supported version.
2424
# NOTE: Keep in sync with //:version.bzl
25-
bazel: 7.x
26-
skip_in_bazel_downstream_pipeline: "Bazel 7 required"
25+
bazel: 8.x
26+
skip_in_bazel_downstream_pipeline: "Bazel 8 required"
2727
.reusable_config: &reusable_config
2828
build_targets:
2929
- "--"
@@ -56,7 +56,7 @@ buildifier:
5656
- "--noenable_bzlmod"
5757
- "--enable_workspace"
5858
- "--build_tag_filters=-integration-test"
59-
bazel: 7.x
59+
bazel: 8.x
6060
# NOTE: The Mac and Windows bazelinbazel jobs override parts of this config.
6161
.common_bazelinbazel_config: &common_bazelinbazel_config
6262
build_flags:
@@ -117,7 +117,7 @@ matrix:
117117
- debian11
118118
- macos_arm64
119119
- windows
120-
bazel: [7.*, 8.*, 9.*]
120+
bazel: [8.*, 9.*]
121121

122122
tasks:
123123
# Keep in sync with .bcr/presubmit.yml
@@ -183,7 +183,7 @@ tasks:
183183
<<: *reusable_config
184184
name: "Default: Ubuntu, bzlmod, minimum Bazel"
185185
platform: ubuntu2204
186-
bazel: 7.x
186+
bazel: 8.x
187187
ubuntu:
188188
<<: *reusable_config
189189
name: "Default: Ubuntu"
@@ -282,7 +282,7 @@ tasks:
282282
platform: rbe_ubuntu2204
283283
# TODO @aignas 2024-12-11: get the RBE working in CI for bazel 8.0
284284
# See https://github.com/bazelbuild/rules_python/issues/2499
285-
bazel: 7.x
285+
bazel: 8.x
286286
test_flags:
287287
- "--test_tag_filters=-integration-test,-acceptance-test"
288288
- "--extra_toolchains=@buildkite_config//config:cc-toolchain"
@@ -371,7 +371,7 @@ tasks:
371371
name: "examples/pip_parse: Ubuntu, bzlmod, minimum supported Bazel version"
372372
working_directory: examples/pip_parse
373373
platform: ubuntu2204
374-
bazel: 7.x
374+
bazel: 8.x
375375
integration_test_pip_parse_ubuntu:
376376
<<: *reusable_build_test_all
377377
name: "examples/pip_parse: Ubuntu"
@@ -587,7 +587,7 @@ tasks:
587587
name: "compile_pip_requirements_test_from_external_repo: Ubuntu, bzlmod, minimum Bazel"
588588
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
589589
platform: ubuntu2204
590-
bazel: 7.x
590+
bazel: 8.x
591591
shell_commands:
592592
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
593593
- "bazel test @compile_pip_requirements//..."

MODULE.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ bazel_binaries.local(
356356
name = "self",
357357
path = "tests/integration/bazel_from_env",
358358
)
359-
bazel_binaries.download(version = "7.4.1")
360359
bazel_binaries.download(version = "8.0.0")
361360
bazel_binaries.download(version = "9.0.0rc1")
362361
use_repo(
@@ -365,7 +364,6 @@ use_repo(
365364
# These don't appear necessary, but are reported as direct dependencies
366365
# that should be use_repo()'d, so we add them as requested
367366
"bazel_binaries_bazelisk",
368-
"build_bazel_bazel_7_4_1",
369367
"build_bazel_bazel_8_0_0",
370368
"build_bazel_bazel_9_0_0rc1",
371369
# "build_bazel_bazel_rolling",

tests/integration/compile_pip_requirements/.bazelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ test --test_output=errors
22

33
# Windows requires these for multi-python support:
44
build --enable_runfiles
5-
common:bazel7.x --incompatible_python_disallow_native_rules
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
test --test_output=errors
2-
common:bazel7.x --incompatible_python_disallow_native_rules

tests/integration/local_toolchains/.bazelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ common --lockfile_mode=off
33
test --test_output=errors
44
# Windows requires these for multi-python support:
55
build --enable_runfiles
6-
common:bazel7.x --incompatible_python_disallow_native_rules
76
build --//:py=local
87
common --announce_rc

tests/integration/pip_parse/.bazelrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ build --enable_runfiles
44

55
# https://docs.bazel.build/versions/main/best-practices.html#using-the-bazelrc-file
66
try-import %workspace%/user.bazelrc
7-
8-
common:bazel7.x --incompatible_python_disallow_native_rules
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# This aids debugging on failure
22
build --toolchain_resolution_debug=python
3-
common:bazel7.x --incompatible_python_disallow_native_rules

0 commit comments

Comments
 (0)