From 32e3c6d42eec16861ec59e6cd8c5d2680fdcfcf2 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Mar 2026 20:47:59 -0700 Subject: [PATCH] Remove unittest from PyInstaller excludes (needed by huggingface_hub) Co-Authored-By: Claude Opus 4.6 --- python/voice_to_notes.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/voice_to_notes.spec b/python/voice_to_notes.spec index 17d3c3f..5caefec 100644 --- a/python/voice_to_notes.spec +++ b/python/voice_to_notes.spec @@ -34,7 +34,7 @@ a = Analysis( hooksconfig={}, runtime_hooks=[], excludes=[ - "tkinter", "test", "unittest", "pip", "setuptools", + "tkinter", "test", "pip", "setuptools", # ctranslate2.converters imports torch at module level and causes # circular import crashes under PyInstaller. These modules are only # needed for model format conversion, never for inference.