python313Packages.argostranslate: 0.9.6 -> 1.11.0

1. Add a dependency on spacy, introduced in 1.10.0 [1].
2. Add a dependency on minisbd, introduced in 1.11.0 [2].

[1] https://github.com/argosopentech/argos-translate/pull/430
[2] https://github.com/argosopentech/argos-translate/pull/510

foo
This commit is contained in:
Steven Allen
2026-02-20 12:18:44 -08:00
parent c3765f82f7
commit aedce9b966
@@ -7,8 +7,10 @@
# dependencies
ctranslate2,
ctranslate2-cpp,
minisbd,
sacremoses,
sentencepiece,
spacy,
stanza,
# tests
pytestCheckHook,
@@ -25,22 +27,24 @@ let
in
buildPythonPackage (finalAttrs: {
pname = "argostranslate";
version = "1.9.6";
version = "1.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "argosopentech";
repo = "argos-translate";
tag = "v${finalAttrs.version}";
hash = "sha256-OFF2DAcuRwEJxZebgRq5Ukb/TaNsP/rsO7BUAcD+lz8=";
hash = "sha256-8uzWS0YZEteeLTYAp9qpnnJhxyhxbWkKt1krqe/RF4M=";
};
build-system = [ setuptools ];
dependencies = [
ctranslate2OneDNN
minisbd
sacremoses
sentencepiece
spacy
stanza
];
@@ -51,7 +55,6 @@ buildPythonPackage (finalAttrs: {
pythonRelaxDeps = [
"stanza"
"sentencepiece"
];
pythonImportsCheck = [