python3Packages.spacy: 3.0.5 -> 3.0.6

Changelog:
https://github.com/explosion/spaCy/releases/tag/v3.0.6
This commit is contained in:
Daniël de Kok 2021-05-18 09:38:46 +02:00
parent 91b9bbe38c
commit 2206118886

View file

@ -12,13 +12,13 @@
, murmurhash , murmurhash
, numpy , numpy
, pathlib , pathlib
, plac
, preshed , preshed
, requests , requests
, setuptools , setuptools
, srsly , srsly
, spacy-legacy , spacy-legacy
, thinc , thinc
, typer
, wasabi , wasabi
, packaging , packaging
, pathy , pathy
@ -27,11 +27,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spacy"; pname = "spacy";
version = "3.0.5"; version = "3.0.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "9f7a09fbad53aac2a3cb7696a902de62b94575a15d249dd5e26a98049328060e"; hash = "sha256-ViirifH1aAmciAsSqcN/Ts4pq4kmBmDP33KMAnEYecU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -42,7 +42,6 @@ buildPythonPackage rec {
jsonschema jsonschema
murmurhash murmurhash
numpy numpy
plac
preshed preshed
requests requests
setuptools setuptools
@ -53,6 +52,7 @@ buildPythonPackage rec {
packaging packaging
pathy pathy
pydantic pydantic
typer
] ++ lib.optional (pythonOlder "3.4") pathlib; ] ++ lib.optional (pythonOlder "3.4") pathlib;
checkInputs = [ checkInputs = [
@ -67,10 +67,6 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \
--replace "blis>=0.4.0,<0.8.0" "blis>=0.4.0,<1.0" \ --replace "blis>=0.4.0,<0.8.0" "blis>=0.4.0,<1.0" \
--replace "catalogue>=0.0.7,<1.1.0" "catalogue>=0.0.7,<3.0" \
--replace "plac>=0.9.6,<1.2.0" "plac>=0.9.6,<2.0" \
--replace "srsly>=1.0.2,<1.1.0" "srsly>=1.0.2,<3.0" \
--replace "thinc>=7.4.1,<7.5.0" "thinc>=7.4.1,<8" \
--replace "pydantic>=1.7.1,<1.8.0" "pydantic>=1.7.1,<1.8.3" --replace "pydantic>=1.7.1,<1.8.0" "pydantic>=1.7.1,<1.8.3"
''; '';