From 5db83f93808d30b74db94268df1a9cfa950719a0 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 26 Mar 2024 09:32:02 -0400 Subject: [PATCH] Catch RuntimeError along with ImportError in pyarrow_available --- altair/utils/_importers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/altair/utils/_importers.py b/altair/utils/_importers.py index 718fa9129..b7fa8a958 100644 --- a/altair/utils/_importers.py +++ b/altair/utils/_importers.py @@ -93,5 +93,5 @@ def pyarrow_available() -> bool: try: import_pyarrow_interchange() return True - except ImportError: + except (ImportError, RuntimeError): return False