From 2c0127dff06e1378f6cc42ceb41a999c0121aaa4 Mon Sep 17 00:00:00 2001 From: Canyu Chen Date: Wed, 4 Jun 2025 13:45:59 +0800 Subject: [PATCH 1/2] Fix Google Colab Issue --- 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 d6c4088c1be4..0aefcee271b6 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -468,7 +468,7 @@ def get_portability_package_data(): 'interactive': [ 'facets-overview>=1.1.0,<2', 'google-cloud-dataproc>=5.0.0,<6', - 'ipython>=8,<9', + 'ipython>=7,<9', 'ipykernel>=6,<7', 'ipywidgets>=8,<9', # Skip version 6.1.13 due to From 0940699bb50a63aa2a1f8d495e2af9c20b152803 Mon Sep 17 00:00:00 2001 From: Canyu Chen Date: Wed, 4 Jun 2025 13:59:13 +0800 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index dd5bcce0c64b..f5fadd000c17 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -101,6 +101,7 @@ * (Java) Fixed cassandraIO ReadAll does not let a pipeline handle or retry exceptions ([#34191](https://github.com/apache/beam/pull/34191)). * [Python] Fixed vLLM breaks dataflow logging. ([35053](https://github.com/apache/beam/pull/35053)) * [Python] Fixed vLLM leaks connections causing a throughput bottleneck and underutilization of GPU ([35053](https://github.com/apache/beam/pull/35053)) +* [Python] Fixed pip install apache-beam[interactive] causes crash on google colab ([#35148](https://github.com/apache/beam/pull/35148)). ## Security Fixes * Fixed [CVE-YYYY-NNNN](https://www.cve.org/CVERecord?id=CVE-YYYY-NNNN) (Java/Python/Go) ([#X](https://github.com/apache/beam/issues/X)).