Skip to content

Commit 2bdf982

Browse files
committed
update bazelrcs to have bazel7 config name
1 parent f8a0caa commit 2bdf982

File tree

15 files changed

+14
-17
lines changed

15 files changed

+14
-17
lines changed

.bazelrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,4 @@ build:rtd --enable_bzlmod
3535

3636
common:bazel7.x --incompatible_python_disallow_native_rules
3737

38-
# Intentionally empty; used by CI
39-
common:bazel6.x
40-
4138
build --lockfile_mode=update

examples/build_file_generation/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ build --enable_runfiles
77
# Once WORKSPACE support is dropped, this example can be entirely deleted.
88
build --experimental_enable_bzlmod=false
99

10-
common --incompatible_python_disallow_native_rules
10+
common:bazel7.x --incompatible_python_disallow_native_rules

examples/bzlmod/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ test --test_output=errors --enable_runfiles
77

88
# Windows requires these for multi-python support:
99
build --enable_runfiles
10-
common --incompatible_python_disallow_native_rules
10+
common:bazel7.x --incompatible_python_disallow_native_rules

examples/bzlmod_build_file_generation/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ build --enable_runfiles
66
common --experimental_enable_bzlmod
77

88
coverage --java_runtime_version=remotejdk_11
9-
common --incompatible_python_disallow_native_rules
9+
common:bazel7.x --incompatible_python_disallow_native_rules

examples/multi_python_versions/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ test --test_output=errors
44
build --enable_runfiles
55

66
coverage --java_runtime_version=remotejdk_11
7-
common --incompatible_python_disallow_native_rules
7+
common:bazel7.x --incompatible_python_disallow_native_rules

examples/pip_parse_vendored/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ build --enable_runfiles
66
# Vendoring requirements.bzl files isn't necessary under bzlmod
77
# When workspace support is dropped, this example can be removed.
88
build --noexperimental_enable_bzlmod
9-
common --incompatible_python_disallow_native_rules
9+
common:bazel7.x --incompatible_python_disallow_native_rules

examples/pip_repository_annotations/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ try-import %workspace%/user.bazelrc
44
# This example is WORKSPACE specific. The equivalent functionality
55
# is in examples/bzlmod as the `whl_mods` feature.
66
build --experimental_enable_bzlmod=false
7-
common --incompatible_python_disallow_native_rules
7+
common:bazel7.x --incompatible_python_disallow_native_rules

examples/py_proto_library/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# The equivalent bzlmod behavior is covered by examples/bzlmod/py_proto_library
22
common --noenable_bzlmod
3-
common --incompatible_python_disallow_native_rules
3+
common:bazel7.x --incompatible_python_disallow_native_rules

gazelle/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ build --incompatible_default_to_explicit_init_py
1111
# Windows makes use of runfiles for some rules
1212
build --enable_runfiles
1313

14-
common --incompatible_python_disallow_native_rules
14+
common:bazel7.x --incompatible_python_disallow_native_rules

tests/integration/compile_pip_requirements/.bazelrc

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

33
# Windows requires these for multi-python support:
44
build --enable_runfiles
5-
common --incompatible_python_disallow_native_rules
5+
common:bazel7.x --incompatible_python_disallow_native_rules

0 commit comments

Comments
 (0)