From a59be396c0dfd04389a2dc2fa56ffca709c4c6d2 Mon Sep 17 00:00:00 2001 From: kkaris Date: Fri, 7 Jun 2024 14:40:27 -0700 Subject: [PATCH] Restrict scikit-learn --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 59c1bea71f..14183ece7c 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,9 @@ def main(): 'api': ['flask<2.0', 'flask_restx<0.4', 'flask_cors', 'docstring-parser', 'gunicorn', 'markupsafe<2.1.0'], - 'sklearn_belief': ['scikit-learn'], + # scikit-learn 1.5.0 breaks DisambManager.run_adeft_disambiguation + # see: https://github.com/gyorilab/adeft/issues/80 + 'sklearn_belief': ['scikit-learn<1.5.0'], 'owl': ['pronto'], 'tests': ['pytest',