From b58a327c5d53a05ba3142802db27e25dfd7380be Mon Sep 17 00:00:00 2001 From: Clemens Neudecker <952378+cneud@users.noreply.github.com> Date: Thu, 17 Aug 2023 22:07:45 +0200 Subject: [PATCH] cap numpy to <1.24.0 OK so now numpy is the culprit (shipped unbound via ocrd) which had several deprecations expire with release of v1.24.0 that require changes to our codebase, e.g. * The deprecation for the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int is expired * Ragged array creation will now always raise a ValueError unless dtype=object is passed. See also here: https://numpy.org/devdocs/release/1.24.0-notes.html#expired-deprecations --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 0d7c5b2..a19a191 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ # ocrd includes opencv, numpy, shapely, click ocrd >= 2.23.3 +numpy <1.24.0 scikit-learn >= 0.23.2 tensorflow >= 2.4.0, <2.12.0 imutils >= 0.5.3