From d65efcceb8bfb2c3d8fe79409e6244f60c747858 Mon Sep 17 00:00:00 2001
From: Felix Schindler <felix.schindler@wwu.de>
Date: Tue, 28 Jul 2020 21:26:11 +0200
Subject: [PATCH] [P] allow metis to be present but broken

---
 python/dune/xt/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/python/dune/xt/__init__.py b/python/dune/xt/__init__.py
index 6c1d684ac..a01141fc0 100644
--- a/python/dune/xt/__init__.py
+++ b/python/dune/xt/__init__.py
@@ -20,6 +20,8 @@ try:
     import metis
 except ImportError:
     pass
+except RuntimeError: # metis actually fires a RuntimeError if the module is installed but the system package not
+    pass
 
 from importlib import import_module
 
-- 
GitLab