Commit dfc60819 authored by Isidor Zeuner's avatar Isidor Zeuner
Browse files

python3Packages.spacy: use cython 0.29.37 to fix compile error

parent 2c5fac3e
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -14606,7 +14606,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 { };