Unverified Commit b1625a5a authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.onnxmltools: fix by removing outdated patch (#443272)

parents fc547a7e 37552f07
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -33,13 +33,6 @@ buildPythonPackage rec {
    hash = "sha256-CcZlGLX8/ANHnhoOv5s/ybBN74gRH/8eLYJ6q/BJo/4=";
  };

  postPatch = ''
    substituteInPlace onnxmltools/proto/__init__.py \
      --replace-fail \
        "from onnx.helper import split_complex_to_pairs" \
        "from onnx.helper import _split_complex_to_pairs as split_complex_to_pairs"
  '';

  build-system = [
    setuptools
  ];