python3Packages.thinc: 9.1.1 -> 8.3.6, revert fixes python3Packages.spacy (#404881)

This commit is contained in:
OTABI Tomoya
2025-05-08 20:20:39 +09:00
committed by GitHub
2 changed files with 4 additions and 11 deletions
@@ -144,7 +144,5 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "spacy";
# Cython.Compiler.Errors.CompileError: spacy/ml/parser_model.pyx
broken = true;
};
}
@@ -6,7 +6,7 @@
catalogue,
confection,
cymem,
cython_0,
cython,
fetchPypi,
hypothesis,
mock,
@@ -22,23 +22,18 @@
buildPythonPackage rec {
pname = "thinc";
version = "9.1.1";
version = "8.3.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-IfrimG13d6bwULkEbcnqsRhS8cmpl9zJAy8+zCJ4Sko=";
hash = "sha256-SZg/m33cQ0OpUyaUqRGN0hbXpgBSCiGEmkO2wmjsbK0=";
};
postPatch = ''
substituteInPlace pyproject.toml setup.cfg \
--replace-fail "blis>=1.0.0,<1.1.0" blis
'';
build-system = [
blis
cymem
cython_0
cython
murmurhash
numpy
preshed