From 34ab6f070536a4ee78154cdc3f2f09663d38450e Mon Sep 17 00:00:00 2001 From: Rahul Tuli Date: Tue, 20 Dec 2022 14:28:25 -0500 Subject: [PATCH] [Cherry-pick] Pin numpy version #247 (#248) * Pin numpy version to <=1.21.6 * Bump to hotfix version 1.3.1 --- setup.py | 2 +- src/sparsezoo/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index af123f52..259fe2e6 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ _PACKAGE_NAME = "sparsezoo" if is_release else "sparsezoo-nightly" _deps = [ - "numpy>=1.0.0", + "numpy>=1.0.0,<=1.21.6", "onnx>=1.5.0,<=1.12.0", "pyyaml>=5.1.0", "requests>=2.0.0", diff --git a/src/sparsezoo/version.py b/src/sparsezoo/version.py index 7b93553f..30ad222a 100644 --- a/src/sparsezoo/version.py +++ b/src/sparsezoo/version.py @@ -20,7 +20,7 @@ from datetime import date -version_base = "1.3.0" +version_base = "1.3.1" is_release = False # change to True to set the generated version as a release version