From 8c5f4b8a3b1957c7c1919658bae1a4b5caf759b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Wed, 27 May 2020 15:33:24 +0200 Subject: [PATCH] python3Packages.spacy: relax thinc version constraint --- pkgs/development/python-modules/spacy/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index 0c990962268..6a54cc1ec71 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -53,6 +53,10 @@ buildPythonPackage rec { # ${python.interpreter} -m pytest spacy/tests --vectors --models --slow # ''; + postPatch = '' + substituteInPlace setup.cfg --replace "thinc==7.4.0" "thinc>=7.4.0,<8" + ''; + meta = with lib; { description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython"; homepage = "https://github.com/explosion/spaCy";