From 2786dd37c3815cf7935ca7c1f45d32cb0b84299f Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Thu, 28 Mar 2024 14:36:33 -0400 Subject: [PATCH] Catch RuntimeError along with ImportError in pyarrow_available (#3387) --- 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