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

python3Packages.spacy: use cython 0.29.37 to fix compile error (#348147)

parents 53ff033d dfc60819
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -14661,7 +14661,18 @@ self: super: with self; {
    libsoxr = pkgs.soxr;
  };
  spacy = callPackage ../development/python-modules/spacy { };
  spacy = callPackage ../development/python-modules/spacy {
    # fix error: ‘_PyCFrame’ has no member named ‘use_tracing’
    # see: https://aur.archlinux.org/packages/python-spacy
    cython_0 = cython_0.overridePythonAttrs (old: rec {
      version = "0.29.37";
      src = pkgs.fetchPypi {
        pname = "Cython";
        inherit version;
        hash = "sha256-+BPUpt2Ure5dT/JmGR0dlb9tQWSk+sxTVCLAIbJQTPs=";
      };
    });
  };
  spacy-alignments = callPackage ../development/python-modules/spacy-alignments { };