-
Notifications
You must be signed in to change notification settings - Fork 495
Automatically update bazel_dep(...) dependencies #5727
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
Open
npaun
wants to merge
6
commits into
main
Choose a base branch
from
npaun/auto-bazel-dep
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
04ac0bf
get_bcr_version()
npaun 6bdfe1d
bazel_dep dep type (by Claude)
npaun 1c71bbf
Move dependencies that use bazel_dep only
npaun 1d6b6d5
Unfreeze most deps (no version change so far)
npaun 54bdd07
Move usage of rules_cc after it gets loaded
npaun 3ab73de
Make update-deps.py generate single files instead of 1 file per dep
npaun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,6 +1,54 @@ | ||
| { | ||
| "$schema": "deps.schema.json", | ||
| "repositories": [ | ||
| // bazel_deps from MODULE.bazel | ||
| { | ||
| "name": "aspect_bazel_lib", | ||
| "type": "bazel_dep" | ||
| }, | ||
| { | ||
| "name": "aspect_rules_lint", | ||
| "type": "bazel_dep" | ||
| }, | ||
| { | ||
| "name": "bazel_features", | ||
| "type": "bazel_dep" | ||
| }, | ||
| { | ||
| "name": "bazel_skylib", | ||
| "type": "bazel_dep" | ||
| }, | ||
| { | ||
| "name": "rules_shell", | ||
| "type": "bazel_dep" | ||
| }, | ||
| // abseil is used by protobuf and tcmalloc. | ||
| { | ||
| "name": "abseil-cpp", | ||
| "type": "bazel_dep", | ||
| "freeze_version": "20250814.0" | ||
| }, | ||
| // Not pulling in platforms via bzlmod causes issues with the Windows clang-cl toolchain | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @anonrig Claude moved them here as requested |
||
| { | ||
| "name": "platforms", | ||
| "type": "bazel_dep" | ||
| }, | ||
| // While the build should succeed with the default toolchain configuration from rules_cc, | ||
| // apple_support is more tailored to macOS and allows us to cross-compile easily. Note that this | ||
| // needs to be pulled in before rules_cc for this toolchain to actually be used. | ||
| { | ||
| "name": "apple_support", | ||
| "type": "bazel_dep" | ||
| }, | ||
| { | ||
| "name": "rules_cc", | ||
| "type": "bazel_dep" | ||
| }, | ||
| // Rust | ||
| { | ||
| "name": "rules_rust", | ||
| "type": "bazel_dep" | ||
| }, | ||
| // rust | ||
| { | ||
| "name": "cargo_bazel_linux_x64", | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "abseil-cpp", | ||
| version = "20250814.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "apple_support", | ||
| version = "2.0.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "aspect_bazel_lib", | ||
| version = "2.22.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "aspect_rules_lint", | ||
| version = "1.13.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "bazel_features", | ||
| version = "1.38.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "bazel_skylib", | ||
| version = "1.9.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "platforms", | ||
| version = "1.0.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "rules_cc", | ||
| version = "0.2.16", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "rules_rust", | ||
| version = "0.68.1", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "rules_shell", | ||
| version = "0.6.1", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "ada-url", | ||
| version = "3.3.0", | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "brotli", | ||
| version = "1.2.0", | ||
| ) |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| bazel_dep( | ||
| name = "tcmalloc", | ||
| version = "0.0.0-20250927-12f2552", | ||
| ) |
This file contains hidden or 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,11 @@ | ||
| # WARNING: THIS FILE IS AUTOGENERATED BY update-deps.py DO NOT EDIT | ||
|
|
||
| include("//build/deps:gen/deps/dep_ada_url.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_brotli.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_capnp_cpp.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_dragonbox.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_nbytes.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_ncrypto.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_simdutf.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_tcmalloc.MODULE.bazel") | ||
| include("//build/deps:gen/deps/dep_wpt.MODULE.bazel") |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did these comment go?