-
Notifications
You must be signed in to change notification settings - Fork 5.2k
deps: bzlmod migration with BCR dependencies #42190
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
base: main
Are you sure you want to change the base?
Conversation
|
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to |
3cf696c to
2ab02ca
Compare
| bazel_dep(name = "bazel_features", version = "1.38.0") | ||
| bazel_dep(name = "bazel_skylib", version = "1.8.2") | ||
| bazel_dep(name = "boringssl", version = "0.20250514.0") | ||
| bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli") |
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.
Current version at 1.2.0. Update
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.
It is not in BCR yet, I created bazelbuild/bazel-central-registry#6618 and google/brotli#1395
MODULE.bazel
Outdated
| bazel_dep(name = "bazel_skylib", version = "1.8.2") | ||
| bazel_dep(name = "boringssl", version = "0.20250514.0") | ||
| bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli") | ||
| bazel_dep(name = "cel-spec", version = "0.24.0", repo_name = "dev_cel") |
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.
Current version at 0.25.0. Update
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.
Only https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/cel-spec/0.25.1 is available in BCR, I created google/cel-spec#498
MODULE.bazel
Outdated
| bazel_dep(name = "envoy_build_config", version = "1.37.0-dev") | ||
| bazel_dep(name = "envoy_mobile", version = "1.37.0-dev") | ||
| bazel_dep(name = "fast_float", version = "8.0.2") | ||
| bazel_dep(name = "flatbuffers", version = "25.2.10", repo_name = "com_github_google_flatbuffers") |
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.
Current version at 25.9.23. Update
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.
It is not in BCR yet, I created bazelbuild/bazel-central-registry#6619 and google/flatbuffers#8801
| bazel_dep(name = "fmt", version = "12.1.0", repo_name = "com_github_fmtlib_fmt") | ||
| bazel_dep(name = "gazelle", version = "0.47.0", repo_name = "bazel_gazelle") | ||
| bazel_dep(name = "googleapis", version = "0.0.0-20241220-5e258e33.bcr.1", repo_name = "com_google_googleapis") | ||
| bazel_dep(name = "googleurl", repo_name = "com_googlesource_googleurl") |
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.
Needs version. Current version at dd4080fec0b443296c0ed0036e1e776df8813aa7
| bazel_dep(name = "fmt", version = "12.1.0", repo_name = "com_github_fmtlib_fmt") | ||
| bazel_dep(name = "gazelle", version = "0.47.0", repo_name = "bazel_gazelle") | ||
| bazel_dep(name = "googleapis", version = "0.0.0-20241220-5e258e33.bcr.1", repo_name = "com_google_googleapis") | ||
| bazel_dep(name = "googleurl", repo_name = "com_googlesource_googleurl") |
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.
Needs version. Current version at dd4080fec0b443296c0ed0036e1e776df8813aa7
| python.toolchain( | ||
| is_default = True, | ||
| python_version = "3.12", | ||
| ) | ||
| use_repo( | ||
| python, | ||
| "python_3_12", | ||
| python = "python_versions", | ||
| ) |
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.
With Python 3.14 out, can this be bumped to at least 3.13?
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.
python update should be handled separately - 3.13 added a lot of breaking change so ive held off so far
| python.toolchain( | ||
| is_default = True, | ||
| python_version = "3.12", | ||
| ) | ||
| use_repo( | ||
| python, | ||
| "python_3_12", | ||
| python = "python_versions", | ||
| ) |
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.
With Python 3.14 out, can this be bumped to at least 3.13?
moderation
left a comment
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.
Big change to dependency management and will need Bazel expert review and more @envoyproxy/dependency-shepherds eyes.
fa2ddf1 to
a2b4153
Compare
a2b4153 to
2e0e50c
Compare
|
Blocked by #42194 |
1fe0650 to
7c19380
Compare
Signed-off-by: Matthieu MOREL <[email protected]>
7c19380 to
621aa3f
Compare
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]