Skip to content

Commit

Permalink
🐛 Require NumPy < 1.24 due to np.str deprecation/error
Browse files Browse the repository at this point in the history
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.

#87
  • Loading branch information
mikegerber committed Mar 9, 2023
1 parent c7ad6eb commit 699554d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 699554d

Please sign in to comment.