-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: require protobuf 6.33.5 in Bazel Workspace to address CVE-2026-0994 #17254
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?
Changes from all commits
7234f2e
18cee87
aca06cf
eec0070
b96e65f
a719399
ee78fcc
d27bdca
a348a85
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| # See https://github.com/bazelbuild/bazelisk | ||
| USE_BAZEL_VERSION=6.5.0 | ||
| USE_BAZEL_VERSION=7.7.1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,5 @@ | ||
| # New protobuf requires C++17 | ||
| build --repo_env=BAZEL_CXXOPTS="-std=c++17" | ||
|
|
||
| # Disable SFrame generation to avoid linker errors with newer GCC/binutils | ||
| build --copt=-Wa,--gsframe=no |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ google-api-core>=2 | |
| google-auth>=2 | ||
| grpcio>=1 | ||
| proto-plus>=1 | ||
| protobuf>=6 | ||
| protobuf>=7 | ||
|
Contributor
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. Setting the constraint to |
||
| {% for package_tuple, package_info in pypi_packages.items() %} | ||
| {# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #} | ||
| {% if api.naming.warehouse_package_name != package_info.package_name %} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ google-api-core>=2 | |
| google-auth>=2 | ||
| grpcio>=1 | ||
| proto-plus>=1 | ||
| protobuf>=6 | ||
| protobuf>=7 | ||
|
Contributor
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. Setting the constraint to |
||
| {% for package_tuple, package_info in pypi_packages.items() %} | ||
| {# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #} | ||
| {% if api.naming.warehouse_package_name != package_info.package_name %} | ||
|
|
||
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.
Since the minimum supported version is
6.33.5(which is a6.xversion), recommending7.xis unnecessary and potentially confusing for users who are on an older6.xversion (e.g.,6.30.0). They only need to upgrade to6.33.5or later within the6.xseries. Recommending6.xis more appropriate.