Skip to content

Commit a1ee475

Browse files
authored
Upgrade python dependency brotli to 1.2.1 (#3523)
<!-- The PR title becomes the release note. Write it for users. --> Why is this needed? (Or link the issue. Open one first for features, API, install or CI changes.) This updates brotli to remove a CVE: CVE-2026-111497 <!-- e.g. "AI-assisted, I reviewed and tested it." No AI co-author trailers. --> AI use: AI assisted, I have reviewed the code. <!-- Breaking change? Describe what users must do on upgrade and ask for the `breaking-change` label. --> - [X] Tests pass - [X] Docs updated Signed-off-by: Max Smythe <[email protected]>
1 parent 8a2c015 commit a1ee475

4 files changed

Lines changed: 27 additions & 6 deletions

File tree

‎benchmarking/locust/codegen/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
# itself. When bumping this pin, keep the floors in ../requirements.txt and
2525
# ../../nighthawk-ingress/requirements.txt at or above the versions the new
2626
# gencode reports.
27-
grpcio-tools==1.81.1
27+
grpcio-tools==1.84.1

‎benchmarking/locust/requirements.txt‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
locust==2.32.7
15+
locust==2.46.7
16+
# locust pulls brotli in through geventhttpclient. Older releases have a
17+
# known vulnerability.
18+
brotli>=1.2.1
1619
prometheus-client
1720
opentelemetry-api
1821
opentelemetry-sdk
1922
opentelemetry-exporter-prometheus
20-
protobuf>=6.33.5
21-
grpcio>=1.81.1
23+
protobuf>=7.35.1
24+
grpcio>=1.84.1
2225

2326
opentelemetry-exporter-otlp
2427
opentelemetry-instrumentation-grpc
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# locust calls gevent.monkey.patch_all() on import. It has to run before any
16+
# test module imports ssl through the kubernetes client, or patching ssl
17+
# afterwards makes SSLContext recurse when locust builds its urllib3 context.
18+
import locust # noqa: F401

‎benchmarking/nighthawk-ingress/requirements.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# protobuf/grpcio floors match benchmarking/locust/requirements.txt so the
1616
# ateapi_pb2*.py files generated by locust/codegen/generate.sh load under both
1717
# images.
18-
protobuf>=6.33.5
19-
grpcio>=1.81.1
18+
protobuf>=7.35.1
19+
grpcio>=1.84.1
2020
requests
2121
google-cloud-storage

0 commit comments

Comments
 (0)