From cf9d14731f125338ff9e751c97f7c4277399599a Mon Sep 17 00:00:00 2001 From: Vinitra Swamy Date: Tue, 11 Jun 2019 14:01:51 -0700 Subject: [PATCH] Updating onnxmltools package version and requirements to 1.5.0 (#315) * Updating onnxmltools package version and requirements * Update flaky test onnxruntime version --- onnxmltools/__init__.py | 2 +- requirements.txt | 2 +- tests/svmlib/test_SVMConverters.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/onnxmltools/__init__.py b/onnxmltools/__init__.py index 82f64cd1..67153797 100644 --- a/onnxmltools/__init__.py +++ b/onnxmltools/__init__.py @@ -9,7 +9,7 @@ This framework converts any machine learned model into onnx format which is a common language to describe any machine learned model. """ -__version__ = "1.4.1" +__version__ = "1.5.0" __author__ = "Microsoft" __producer__ = "OnnxMLTools" __producer_version__ = __version__ diff --git a/requirements.txt b/requirements.txt index 357ba00c..7412a0aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ protobuf onnx skl2onnx keras2onnx -onnxconverter-common>=1.4.0 +onnxconverter-common>=1.5.0 diff --git a/tests/svmlib/test_SVMConverters.py b/tests/svmlib/test_SVMConverters.py index 221c0296..1bad641f 100644 --- a/tests/svmlib/test_SVMConverters.py +++ b/tests/svmlib/test_SVMConverters.py @@ -121,7 +121,7 @@ def test_convert_svmc_linear(self): self.assertTrue(node is not None) dump_data_and_model(X[:5].astype(numpy.float32), SkAPIClProba2(libsvm_model), node, basename="LibSvmSvmcLinear-Dec3", - allow_failure="StrictVersion(onnxruntime.__version__) <= StrictVersion('0.3.0')") + allow_failure="StrictVersion(onnxruntime.__version__) < StrictVersion('0.5.0')") def test_convert_svmc(self): iris = load_iris()