Unverified Commit 682d121b authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

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

parents 615dc0dc 29228599
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -144,7 +144,5 @@ buildPythonPackage rec {
    license = lib.licenses.mit;
    maintainers = [ ];
    mainProgram = "spacy";
    # Cython.Compiler.Errors.CompileError: spacy/ml/parser_model.pyx
    broken = true;
  };
}
+4 −9
Original line number Diff line number Diff line
@@ -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