From c25c8d0a4fbe26abacef7927127d981546004396 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Fri, 13 Oct 2023 21:04:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20workaround=20for=20fixe?= =?UTF-8?q?d=20np.str=20problem=20in=20Calamari?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Older Calamari version had used deprecated np.str, remove the workaround for this and require Calamari >= 1.0.6 instead. See #87. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index a42cae4..245ec42 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ tensorflow >= 2.5.0 -numpy < 1.24.0 # XXX https://github.com/OCR-D/ocrd_calamari/issues/87 +numpy protobuf < 4.0 # XXX https://github.com/OCR-D/ocrd_calamari/issues/89 -calamari-ocr == 1.0.* +calamari-ocr == 1.0.*, >= 1.0.6 setuptools >= 41.0.0 # tensorboard depends on this, but why do we get an error at runtime? click ocrd >= 2.22.0