From 789398cfa3f2933d5b9261f7df9d2dd5d1876926 Mon Sep 17 00:00:00 2001 From: Aiken Cairncross Date: Fri, 23 Apr 2021 19:59:09 +0100 Subject: [PATCH] python3Packages.onnx: 1.8.1 -> 1.9.0 --- pkgs/development/python-modules/onnx/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/onnx/default.nix b/pkgs/development/python-modules/onnx/default.nix index 90683a84f46..62e12ebe716 100644 --- a/pkgs/development/python-modules/onnx/default.nix +++ b/pkgs/development/python-modules/onnx/default.nix @@ -8,25 +8,22 @@ , numpy , six , typing-extensions -, typing +, pytestCheckHook , pytestrunner -, pytest , nbval , tabulate }: buildPythonPackage rec { pname = "onnx"; - version = "1.8.1"; + version = "1.9.0"; - # Due to Protobuf packaging issues this build of Onnx with Python 2 gives - # errors on import. - # Also support for Python 2 will be deprecated from Onnx v1.8. + # Python 2 is not supported as of Onnx v1.8 disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb"; + sha256 = "0yjv2axz2vc2ysniwislsp53fsb8f61y1warrr2ppn2d9ijml1d9"; }; nativeBuildInputs = [ cmake ]; @@ -36,11 +33,11 @@ buildPythonPackage rec { numpy six typing-extensions - ] ++ lib.optional (pythonOlder "3.5") [ typing ]; + ]; checkInputs = [ + pytestCheckHook pytestrunner - pytest nbval tabulate ];