-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Bazel 8, refresh other dependencies
Update to Bazel 8 and the latest release of rules-python. Also move from depending on a Git snapshot of protobuf to the latest release of rules_proto. We currently use Bazel 8 but explicitly disable module support and enable workspace support. Moving to Bazel modules is deferred to future work.
- Loading branch information
1 parent
b06983b
commit 3c7e8fc
Showing
9 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
USE_BAZEL_VERSION=5.4.1 | ||
USE_BAZEL_VERSION=8.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# Use a remote build cache that's world-readable. Don't write unless told otherwise. | ||
# TODO: migrate to Bazel modules | ||
common --enable_workspace | ||
common --enable_bzlmod=false | ||
|
||
build --verbose_failures | ||
|
||
# Use a remote build cache that's world-readable. Don't write unless told otherwise. | ||
build --remote_cache=https://storage.googleapis.com/reboot-dev-bazel-remote-cache-reboot-us | ||
build --remote_upload_local_results=false | ||
|
||
# Print full test logs for failed tests. | ||
|
||
test --test_output=errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
"""Dependency specific initialization.""" | ||
|
||
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") | ||
load("@pyprotoc_plugin_pypi//:requirements.bzl", pypi_deps = "install_deps") | ||
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies") | ||
|
||
def deps(repo_mapping = {}): | ||
protobuf_deps() | ||
rules_proto_dependencies() | ||
|
||
pypi_deps(repo_mapping = repo_mapping) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters