python3Packages.onnx: Patch out pytest-runner
This commit is contained in:
parent
789398cfa3
commit
ff6eef6cf1
@ -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 = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user