mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-30 04:40:16 +00:00
OptionalDependencyBlocker was constructing ModuleNotFoundError with only a message string, leaving .name as None. _is_missing_dependency checks exc.name directly (the string-scan fallback was removed when switching to ModuleNotFoundError), so the ConfigurationError conversion never triggered and the test asserted the wrong exception type. Python's import machinery always sets .name to the top-level module name when it raises ModuleNotFoundError; the blocker now does the same. Co-authored-by: ZohaibHassan16 <zohaib@hawksight.ai> Co-authored-by: KaifAhmad1 <mohammadk78600@gmail.com>