Skip to content

Commit

Permalink
Support Python 3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 18, 2024
1 parent df98c04 commit 3a47179
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ DEFAULT_DISABLED_MODULES += cor-asv-ann ocrd_keraslm
endif
endif
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
# The required coremltools does not support Python 3.12.
DEFAULT_DISABLED_MODULES += ocrd_kraken
endif
ifeq ($(shell uname -s),Darwin)
# Disable ocrd_olena for macOS because build is broken.
DEFAULT_DISABLED_MODULES += ocrd_olena
Expand Down

0 comments on commit 3a47179

Please sign in to comment.