From 699554dc8a057001674488f3e1a868d3ea7cc130 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 9 Mar 2023 18:11:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=20Require=20NumPy=20<=201.24=20?= =?UTF-8?q?due=20to=20np.str=20deprecation/error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NumPy has deprecated np.str (etc.) since NumPy 1.20, and since Numpy 1.24 throws an error. We can't currently update to Calamari 2 (and fix the problem there if necessary), so stick to NumPy 1.23.x for now. https://github.com/OCR-D/ocrd_calamari/issues/87 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index af75792..62b266f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ tensorflow >= 2.5.0 +numpy =~ 1.23.5 # XXX https://github.com/OCR-D/ocrd_calamari/issues/87 calamari-ocr == 1.0.* setuptools >= 41.0.0 # tensorboard depends on this, but why do we get an error at runtime? click