Skip to content

Commit

Permalink
science/py-mdp: Fix build with setuptools 58.0.0+
Browse files Browse the repository at this point in the history
With hat:	python
  • Loading branch information
sunpoet committed Mar 25, 2022
1 parent a6f1a10 commit 33c9be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions science/py-mdp/files/patch-mdp__configuration.py
@@ -1,11 +1,11 @@
--- mdp/configuration.py.orig 2016-04-10 17:12:43 UTC
--- mdp/configuration.py.orig 2016-03-04 08:39:38 UTC
+++ mdp/configuration.py
@@ -388,7 +388,7 @@ def set_configuration():
try:
import svm as libsvm
libsvm.libsvm
- except ImportError as exc:
+ except (ImportError, OSError) as exc:
+ except (ImportError, OSError) as exc:
config.ExternalDepFailed('libsvm', exc)
except AttributeError as exc:
config.ExternalDepFailed('libsvm', 'libsvm version >= 2.91 required')

0 comments on commit 33c9be9

Please sign in to comment.