python3Packages.onnx: Patch out pytest-runner

This commit is contained in:
Aiken Cairncross 2021-04-25 23:17:07 +01:00 committed by Jonathan Ringer
parent 789398cfa3
commit ff6eef6cf1

View File

@ -9,7 +9,6 @@
, six , six
, typing-extensions , typing-extensions
, pytestCheckHook , pytestCheckHook
, pytestrunner
, nbval , nbval
, tabulate , tabulate
}: }:
@ -37,7 +36,6 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestrunner
nbval nbval
tabulate tabulate
]; ];
@ -45,6 +43,9 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
chmod +x tools/protoc-gen-mypy.sh.in chmod +x tools/protoc-gen-mypy.sh.in
patchShebangs tools/protoc-gen-mypy.sh.in tools/protoc-gen-mypy.py patchShebangs tools/protoc-gen-mypy.sh.in tools/protoc-gen-mypy.py
substituteInPlace setup.py \
--replace "setup_requires.append('pytest-runner')" ""
''; '';
preBuild = '' preBuild = ''