Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bazel] Bump to Bazel 8.0.1 #15140

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ try-import %workspace%/.bazelrc.windows.local
# pieces.
# https://github.com/bazelbuild/bazel/issues/20369
# https://github.com/bazelbuild/bazel/issues/21491
common --lockfile_mode=off

common --enable_bzlmod --lockfile_mode=off
# Required for the Closure rules
common --enable_workspace
common --incompatible_disallow_struct_provider_syntax=false

# Ensure Windows support is accurate.

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.1
8.0.1
2 changes: 0 additions & 2 deletions dotnet/src/support/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ csharp_library(
"*.cs",
"Events/*.cs",
"Extensions/*.cs",
"PageObjects/**/*.cs",
"UI/*.cs",
]) + [":assembly-info"],
out = "WebDriver.Support",
Expand Down Expand Up @@ -71,7 +70,6 @@ csharp_library(
"*.cs",
"Events/*.cs",
"Extensions/*.cs",
"PageObjects/**/*.cs",
"UI/*.cs",
]) + [":assembly-info"],
out = "WebDriver.Support.StrongNamed",
Expand Down
1 change: 0 additions & 1 deletion dotnet/test/support/Events/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dotnet_nunit_test_suite(
srcs = glob(
[
"**/*Test.cs",
"**/*Tests.cs",
],
exclude = SMALL_TESTS,
) + [
Expand Down
1 change: 0 additions & 1 deletion java/src/org/openqa/selenium/grid/session/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ java_library(
name = "session",
srcs = glob([
"*.java",
"remote/*.java",
]),
visibility = [
"//java/src/org/openqa/selenium/grid:__subpackages__",
Expand Down
31 changes: 0 additions & 31 deletions java/test/org/openqa/selenium/grid/sessionqueue/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,31 +0,0 @@
load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "JUNIT5_DEPS", "java_test_suite")
load("//java:version.bzl", "TOOLS_JAVA_VERSION")

java_test_suite(
name = "SmallTests",
size = "small",
srcs = glob(["*Test.java"]),
javacopts = [
"--release",
TOOLS_JAVA_VERSION,
],
deps = [
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/events/local",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/grid/sessionqueue",
"//java/src/org/openqa/selenium/grid/sessionqueue/local",
"//java/src/org/openqa/selenium/grid/sessionqueue/remote",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/support",
"//java/test/org/openqa/selenium/grid/testing",
"//java/test/org/openqa/selenium/remote/tracing:tracing-support",
artifact("org.junit.jupiter:junit-jupiter-api"),
artifact("io.opentelemetry:opentelemetry-api"),
artifact("org.assertj:assertj-core"),
artifact("com.google.guava:guava"),
] + JUNIT5_DEPS,
)
17 changes: 0 additions & 17 deletions java/test/org/openqa/selenium/remote/codec/jwp/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,17 +0,0 @@
load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "JUNIT5_DEPS", "java_test_suite")

java_test_suite(
name = "SmallTests",
size = "small",
srcs = glob(["*.java"]),
deps = [
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/remote/http",
"//java/test/org/openqa/selenium/testing:annotations",
artifact("com.google.guava:guava"),
artifact("org.junit.jupiter:junit-jupiter-api"),
artifact("org.assertj:assertj-core"),
] + JUNIT5_DEPS,
)
1 change: 0 additions & 1 deletion javascript/grid-ui/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ js_library(

SRCS = glob(
[
"public/**/*",
"src/**/*",
],
exclude = [
Expand Down
1 change: 0 additions & 1 deletion javascript/node/selenium-webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ js_library(
"http/*.js",
"io/*.js",
"lib/*.js",
"lib/atoms/bidi-mutation-listener.js",
"lib/fedcm/*.js",
"net/*.js",
"remote/*.js",
Expand Down
1 change: 0 additions & 1 deletion rb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ rb_binary(

rb_test(
name = "lint",
srcs = glob(["**/*.rb"]),
args = [
"--autocorrect",
"--config=rb/.rubocop.yml",
Expand Down
Loading