From 475a94c46f733b44c9014c04eda9ae5d082d27bd Mon Sep 17 00:00:00 2001 From: Vovan Kuznetsov Date: Thu, 13 May 2021 21:25:57 -0500 Subject: [PATCH 1/2] Fix to work with newer version of scikit-learn --- setup.py | 6 +++--- talon/signature/data/classifier | Bin 608 -> 799 bytes talon/signature/learning/classifier.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index f55fc3b7..70b55a91 100755 --- a/setup.py +++ b/setup.py @@ -46,9 +46,9 @@ def finalize_options(self): install_requires=[ "lxml>=2.3.3", "regex>=1", - "numpy", - "scipy", - "scikit-learn==0.16.1", # pickled versions of classifier, else rebuild + "numpy==1.20.1", + "scikit-learn==0.24.1", + "scipy==1.6.2", 'chardet>=1.0.1', 'cchardet>=0.3.5', 'cssselect', diff --git a/talon/signature/data/classifier b/talon/signature/data/classifier index 1c3a4b0865f3e951b1b3b17fb31bacc48d8d005b..99bee3824c44f25c313422a41a95f981737a1370 100644 GIT binary patch literal 799 zcmZWn%S%*I7@wzivN5s;MB2+FHS$toVo+Rj7DBg%D5y`Gw|8Cqy$i z(AQdn+h_%*Z&Yy*;?9tV&`>mdV%R?O^33%mK;!Cxh&(k7dl2;~q{HH5m>GlI$1EsA z%*#1~p&o&>N9}@R5#dvx$+wh6M~ER2@yw?6Z{p{y>Zxfu!^E>4bK6cI1op{bngS`(ROf|LgM9^M}jY|F>u8PrPwLzBqf7lQ3p3^GE6Iu-8Z52Z9;&P69gnGDdsQ`tx=QoViX(hK r#EkAWDS6v^Av1|P@kj*6rP#2U)ViL?9utORBh(#MySmjQ806G{mFs|?W@6*fGcj9bu|)KuW9Ll{iCAu9|H4 Date: Fri, 7 Jan 2022 15:59:53 -0600 Subject: [PATCH 2/2] Update setup.py Bumped bumpy version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 70b55a91..7c7ea4b5 100755 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def finalize_options(self): install_requires=[ "lxml>=2.3.3", "regex>=1", - "numpy==1.20.1", + "numpy>=1.20.1", "scikit-learn==0.24.1", "scipy==1.6.2", 'chardet>=1.0.1',