Remove unittest from PyInstaller excludes (needed by huggingface_hub)
All checks were successful
Release / Bump version and tag (push) Successful in 3s
Release / Build (macOS) (push) Successful in 5m46s
Release / Build (Linux) (push) Successful in 7m46s
Release / Build (Windows) (push) Successful in 16m29s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-03-21 20:47:59 -07:00
parent 68ae48a771
commit 32e3c6d42e

View File

@@ -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.