python3Packages.spacy: 2.0.18 -> 2.1.3
Changes: https://github.com/explosion/spaCy/releases The largest change since 2.0.x is support for ELMo/BERT-like pretraining.
This commit is contained in:
parent
613e802f01
commit
52731eb4f6
@ -17,22 +17,24 @@
|
||||
, pathlib
|
||||
, msgpack-python
|
||||
, msgpack-numpy
|
||||
, jsonschema
|
||||
, blis
|
||||
, wasabi
|
||||
, srsly
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spacy";
|
||||
version = "2.0.18";
|
||||
version = "2.1.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mybdms7c40jvk8ak180n65anjiyg4c8gkaqwkzicrd1mxq3ngqj";
|
||||
sha256 = "01mmgfn7r288jklz6902xfb5dbih0h29s9p0na12gyj2c7gnvf5i";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "regex==" "regex>=" \
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6" \
|
||||
--replace "wheel>=0.32.0,<0.33.0" "wheel>=0.32.0"
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -49,6 +51,10 @@ buildPythonPackage rec {
|
||||
ftfy
|
||||
msgpack-python
|
||||
msgpack-numpy
|
||||
jsonschema
|
||||
blis
|
||||
wasabi
|
||||
srsly
|
||||
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||
|
||||
checkInputs = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user