From 61b59f4ca0978593ad6214676bca7ce31ad422f3 Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Sun, 16 Jun 2024 21:38:34 -0400 Subject: [PATCH] rknn: use numpy < 2.0.0 (#1500) --- plugins/rknn/package-lock.json | 4 ++-- plugins/rknn/package.json | 2 +- plugins/rknn/src/requirements.txt | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/rknn/package-lock.json b/plugins/rknn/package-lock.json index 28f19a6ddc..84ece6ea0e 100644 --- a/plugins/rknn/package-lock.json +++ b/plugins/rknn/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/rknn", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/rknn", - "version": "0.1.1", + "version": "0.1.2", "devDependencies": { "@scrypted/sdk": "file:../../sdk" } diff --git a/plugins/rknn/package.json b/plugins/rknn/package.json index 8aafd23cad..d5e8f69d27 100644 --- a/plugins/rknn/package.json +++ b/plugins/rknn/package.json @@ -46,5 +46,5 @@ "devDependencies": { "@scrypted/sdk": "file:../../sdk" }, - "version": "0.1.1" + "version": "0.1.2" } diff --git a/plugins/rknn/src/requirements.txt b/plugins/rknn/src/requirements.txt index b033d93fd3..dfa294567a 100644 --- a/plugins/rknn/src/requirements.txt +++ b/plugins/rknn/src/requirements.txt @@ -1,4 +1,5 @@ https://github.com/airockchip/rknn-toolkit2/raw/v2.0.0-beta0/rknn-toolkit-lite2/packages/rknn_toolkit_lite2-2.0.0b0-cp310-cp310-linux_aarch64.whl +numpy<2.0.0 pillow==10.3.0 six==1.16.0 shapely== 2.0.4