From 769bc09b4dd56791ed03a1d90c7d9ab35f51ee8d Mon Sep 17 00:00:00 2001 From: Israel Aire Date: Mon, 28 Feb 2022 08:11:56 +0100 Subject: [PATCH] Update setup.py to fix config.cfg error This change adds a maximum version to spacy and hence prevents the config.cfg error new users encounter. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 566eed5..2a0253a 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ 'requests>=2.22.0', 'six>=1.12.0', 'sortedcontainers>=2.1.0', - 'spacy>=2.1.4', + 'spacy>=2.1.4,<=2.3.5', 'srsly>=0.0.7', 'thinc>=7.0.4', 'tqdm>=4.32.2', @@ -57,4 +57,4 @@ entry_points = { 'console_scripts': ['pyresparser=pyresparser.command_line:main'], } -) \ No newline at end of file +)