python3Packages.spacy: 2.0.16 -> 2.0.18

Changes:

https://github.com/explosion/spaCy/releases/tag/v2.0.18
https://github.com/explosion/spaCy/releases/tag/v2.0.17
This commit is contained in:
Daniël de Kok 2018-12-15 09:29:14 +01:00
parent d1edf245e8
commit 0730a55dca
1 changed files with 3 additions and 9 deletions

View File

@ -2,14 +2,12 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, html5lib
, pytest , pytest
, preshed , preshed
, ftfy , ftfy
, numpy , numpy
, murmurhash , murmurhash
, plac , plac
, six
, ujson , ujson
, dill , dill
, requests , requests
@ -23,19 +21,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spacy"; pname = "spacy";
version = "2.0.16"; version = "2.0.18";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1ghgbv819ff4777904p1kzayq1dj34i7853anvg859sak59r7pj1"; sha256 = "0mybdms7c40jvk8ak180n65anjiyg4c8gkaqwkzicrd1mxq3ngqj";
}; };
prePatch = '' prePatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "regex==" "regex>=" \ --replace "regex==" "regex>=" \
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6" \ --replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6"
--replace "thinc>=6.12.0,<6.13.0" "thinc>=6.12.0" \
--replace "wheel>=0.32.0,<0.33.0" "wheel>=0.31.0"
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -45,8 +41,6 @@ buildPythonPackage rec {
preshed preshed
thinc thinc
plac plac
six
html5lib
ujson ujson
dill dill
requests requests