This is an automated email from the ASF dual-hosted git repository. vterentev pushed a commit to branch fix-playground-pydot in repository https://gitbox.apache.org/repos/asf/beam.git
commit edc045db1484ee21420861ce797ebeed4a3f6053 Author: Vitaly Terentyev <[email protected]> AuthorDate: Tue Jan 27 17:48:58 2026 +0400 show import error --- .../apache_beam/runners/interactive/display/pipeline_graph.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py index 10058351938..380a29d4cab 100644 --- a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py +++ b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py @@ -40,8 +40,11 @@ from apache_beam.runners.interactive.display import pipeline_graph_renderer try: import pydot -except ImportError: - pass +except ImportError as e: + raise ImportError( + "Failed to import optional dependency 'pydot'. " + "Original error: %r" % (e,) + ) from e # pylint does not understand context # pylint:disable=dangerous-default-value
