python312Packages.spacy: 3.8.2 -> 3.8.3
Changelog: https://github.com/explosion/spaCy/releases/tag/release-v3.8.3
This commit is contained in:
@@ -7,11 +7,14 @@
|
||||
cymem,
|
||||
cython_0,
|
||||
fetchPypi,
|
||||
git,
|
||||
hypothesis,
|
||||
jinja2,
|
||||
langcodes,
|
||||
mock,
|
||||
murmurhash,
|
||||
nix-update,
|
||||
nix,
|
||||
numpy,
|
||||
packaging,
|
||||
preshed,
|
||||
@@ -22,6 +25,8 @@
|
||||
setuptools,
|
||||
spacy-legacy,
|
||||
spacy-loggers,
|
||||
spacy-lookups-data,
|
||||
spacy-transformers,
|
||||
srsly,
|
||||
thinc,
|
||||
tqdm,
|
||||
@@ -29,34 +34,34 @@
|
||||
wasabi,
|
||||
weasel,
|
||||
writeScript,
|
||||
nix,
|
||||
git,
|
||||
nix-update,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spacy";
|
||||
version = "3.8.2";
|
||||
version = "3.8.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Szfr0lraQFmw3J4Ik+cN3l34NIUymgaO8EWA5wiSpl0=";
|
||||
hash = "sha256-galn3D1qWgqaslBVlIP+IJIwZYKpGS+Yvnpjvc4nl/c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/numpy/d" pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cymem
|
||||
cython_0
|
||||
murmurhash
|
||||
numpy
|
||||
preshed
|
||||
thinc
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"thinc"
|
||||
];
|
||||
pythonRelaxDeps = [ "thinc" ];
|
||||
|
||||
dependencies = [
|
||||
catalogue
|
||||
@@ -86,6 +91,11 @@ buildPythonPackage rec {
|
||||
mock
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
transformers = [ spacy-transformers ];
|
||||
lookups = [ spacy-lookups-data ];
|
||||
};
|
||||
|
||||
# Fixes ModuleNotFoundError when running tests on Cythonized code. See #255262
|
||||
preCheck = ''
|
||||
cd $out
|
||||
@@ -124,10 +134,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Industrial-strength Natural Language Processing (NLP)";
|
||||
mainProgram = "spacy";
|
||||
homepage = "https://github.com/explosion/spaCy";
|
||||
changelog = "https://github.com/explosion/spaCy/releases/tag/release-v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
mainProgram = "spacy";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user