Skip to content

Commit 91b6ea8

Browse files
committed
chore: remove testing of Bazel 7
1 parent 44bb4f3 commit 91b6ea8

File tree

7 files changed

+8
-16
lines changed

7 files changed

+8
-16
lines changed

.bazelci/presubmit.yml

Lines changed: 8 additions & 8 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
- "--"
@@ -57,7 +57,7 @@ buildifier:
5757
- "--noenable_bzlmod"
5858
- "--enable_workspace"
5959
- "--build_tag_filters=-integration-test"
60-
bazel: 7.x
60+
bazel: 8.x
6161
# NOTE: The Mac and Windows bazelinbazel jobs override parts of this config.
6262
.common_bazelinbazel_config: &common_bazelinbazel_config
6363
build_flags:
@@ -118,7 +118,7 @@ matrix:
118118
- debian11
119119
- macos_arm64
120120
- windows
121-
bazel: [7.*, 8.*, 9.*]
121+
bazel: [8.*, 9.*]
122122

123123
tasks:
124124
# Keep in sync with .bcr/presubmit.yml
@@ -184,7 +184,7 @@ tasks:
184184
<<: *reusable_config
185185
name: "Default: Ubuntu, bzlmod, minimum Bazel"
186186
platform: ubuntu2204
187-
bazel: 7.x
187+
bazel: 8.x
188188
ubuntu:
189189
<<: *reusable_config
190190
name: "Default: Ubuntu"
@@ -372,7 +372,7 @@ tasks:
372372
name: "examples/pip_parse: Ubuntu, bzlmod, minimum supported Bazel version"
373373
working_directory: examples/pip_parse
374374
platform: ubuntu2204
375-
bazel: 7.x
375+
bazel: 8.x
376376
integration_test_pip_parse_ubuntu:
377377
<<: *reusable_build_test_all
378378
name: "examples/pip_parse: Ubuntu"
@@ -561,7 +561,7 @@ tasks:
561561
name: "compile_pip_requirements_test_from_external_repo: Ubuntu, bzlmod, minimum Bazel"
562562
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
563563
platform: ubuntu2204
564-
bazel: 7.x
564+
bazel: 8.x
565565
shell_commands:
566566
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
567567
- "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)