python3Packages.onnx: 1.8.1 -> 1.9.0
This commit is contained in:
parent
8931b66733
commit
789398cfa3
@ -8,25 +8,22 @@
|
|||||||
, numpy
|
, numpy
|
||||||
, six
|
, six
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, typing
|
, pytestCheckHook
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, pytest
|
|
||||||
, nbval
|
, nbval
|
||||||
, tabulate
|
, tabulate
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "onnx";
|
pname = "onnx";
|
||||||
version = "1.8.1";
|
version = "1.9.0";
|
||||||
|
|
||||||
# Due to Protobuf packaging issues this build of Onnx with Python 2 gives
|
# Python 2 is not supported as of Onnx v1.8
|
||||||
# errors on import.
|
|
||||||
# Also support for Python 2 will be deprecated from Onnx v1.8.
|
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb";
|
sha256 = "0yjv2axz2vc2ysniwislsp53fsb8f61y1warrr2ppn2d9ijml1d9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
@ -36,11 +33,11 @@ buildPythonPackage rec {
|
|||||||
numpy
|
numpy
|
||||||
six
|
six
|
||||||
typing-extensions
|
typing-extensions
|
||||||
] ++ lib.optional (pythonOlder "3.5") [ typing ];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
pytestrunner
|
pytestrunner
|
||||||
pytest
|
|
||||||
nbval
|
nbval
|
||||||
tabulate
|
tabulate
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user