From 55fbbda7bf52305ea8f368d7a196c25a663c2ee4 Mon Sep 17 00:00:00 2001 From: Jack McCluskey Date: Tue, 4 Mar 2025 14:32:25 -0500 Subject: [PATCH] Add Sequences support to Breaking Changes --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 4f9439efbec1..856bbb95593c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -75,6 +75,7 @@ * [Python] Reshuffle now correctly respects user-specified type hints, fixing a previous bug where it might use FastPrimitivesCoder wrongly. This change could break pipelines with incorrect type hints in Reshuffle. If you have issues after upgrading, temporarily set update_compatibility_version to a previous Beam version to use the old behavior. The recommended solution is to fix the type hints in your code. ([#33932](https://github.com/apache/beam/pull/33932)) * [Java] SparkReceiver 2 has been moved to SparkReceiver 3 that supports Spark 3.x. ([#33574](https://github.com/apache/beam/pull/33574)) +* [Python] Correct parsing of `collections.abc.Sequence` type hints was added, which can lead to pipelines failing type hint checks that were previously passing erroneously. These issues will be most commonly seen trying to consume a PCollection with a `Sequence` type hint after a GroupByKey or a CoGroupByKey. ([#33999](https://github.com/apache/beam/pull/33999). * X behavior was changed ([#X](https://github.com/apache/beam/issues/X)). ## Deprecations