From ff6eef6cf131f1c75ea620ccff832672b7537b50 Mon Sep 17 00:00:00 2001 From: Aiken Cairncross Date: Sun, 25 Apr 2021 23:17:07 +0100 Subject: [PATCH] python3Packages.onnx: Patch out pytest-runner --- pkgs/development/python-modules/onnx/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/onnx/default.nix b/pkgs/development/python-modules/onnx/default.nix index 62e12ebe716..cf1d595d90c 100644 --- a/pkgs/development/python-modules/onnx/default.nix +++ b/pkgs/development/python-modules/onnx/default.nix @@ -9,7 +9,6 @@ , six , typing-extensions , pytestCheckHook -, pytestrunner , nbval , tabulate }: @@ -37,7 +36,6 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook - pytestrunner nbval tabulate ]; @@ -45,6 +43,9 @@ buildPythonPackage rec { postPatch = '' chmod +x tools/protoc-gen-mypy.sh.in patchShebangs tools/protoc-gen-mypy.sh.in tools/protoc-gen-mypy.py + + substituteInPlace setup.py \ + --replace "setup_requires.append('pytest-runner')" "" ''; preBuild = ''