From aa24dbee2d43844bff384e83573a14fc00591668 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 17 Aug 2024 22:17:26 +0200 Subject: [PATCH] Disable ocrd_anybaseocr and sbb_binarization for Python 3.11 Signed-off-by: Stefan Weil --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index bd109da..2db03bf 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,10 @@ ifneq ($(PYTHON_VERSION),3.8) DEFAULT_DISABLED_MODULES += cor-asv-ann ocrd_keraslm endif endif +ifeq ($(PYTHON_VERSION),3.11) +# Build fails for these modules with Python 3.11. +DEFAULT_DISABLED_MODULES += ocrd_anybaseocr sbb_binarization +endif ifeq ($(PYTHON_VERSION),3.12) # The required tensorflow is not available for Python 3.12. DEFAULT_DISABLED_MODULES += eynollah ocrd_anybaseocr ocrd_calamari sbb_binarization