From d5c155c9e61c01c2b2b55dc7f79fc7f75ef6b431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sofia=20Thor=C3=A9n?= <56021803+sofiathoren@users.noreply.github.com> Date: Wed, 14 Oct 2026 17:20:53 +0200 Subject: [PATCH 1/2] [Python] Support Protobuf 7.x (#40580) --- sdks/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 24e9440361ca..d8c7fcecdca0 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -443,7 +443,7 @@ def get_portability_package_data(): # # 3. Exclude protobuf 4 versions that leak memory, see: # https://github.com/apache/beam/issues/28246 - 'protobuf>=3.20.3,<7.0.0.dev0,!=4.0.*,!=4.21.*,!=4.22.0,!=4.23.*,!=4.24.*', # pylint: disable=line-too-long + 'protobuf>=3.20.3,<8.0.0.dev0,!=4.0.*,!=4.21.*,!=4.22.0,!=4.23.*,!=4.24.*', # pylint: disable=line-too-long 'python-dateutil>=2.8.0,<3', 'pytz>=2018.3', 'requests>=2.32.4,<3.0.0', From 162094e9e21629cf47b25908ac32e9263a1ff5fb Mon Sep 17 00:00:00 2001 From: sofiathoren Date: Thu, 15 Oct 2026 19:49:25 +0200 Subject: [PATCH 2/2] docs: add Protobuf 7.x support to CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 7693e65d78a0..aa0323b19bdf 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -75,6 +75,7 @@ * ReadFromBigQuery now supports Lakehouse runtime catalog (BigLake metastore) tables with `method=DIRECT_READ`, using 4-part `project.catalog.namespace.table` identifiers. Previously `project:catalog.namespace.table` was silently mis-parsed and tables that report no `numBytes` failed to split (Python) ([#39597](https://github.com/apache/beam/issues/39597)). * (Python) Added `AwsOptions` with `--aws_*` pipeline options (e.g. `--aws_access_key_id`, `--aws_region_name`, `--aws_endpoint_url`) that set defaults for all AWS service clients. The existing `--s3_*` options in `S3Options` override these defaults for the S3 client only ([#40528](https://github.com/apache/beam/issues/40528)). * (Python) Added `--aws_credentials_secret_manager` so AWS credentials (`--aws_access_key_id`, `--aws_secret_access_key`, `--aws_session_token` and their `--s3_*` overrides) can be secret specs resolved through a secret manager such as `GoogleCloudSecretManager`, instead of plain-text values ([#40528](https://github.com/apache/beam/issues/40528)). +* (Python) Added support for Protobuf 7.x ([#40580](https://github.com/apache/beam/issues/40580)). ## Breaking Changes