Skip to content

chore: remove the dead hook-plugin_loader.py - #410

Merged
abrignoni merged 1 commit into
mainfrom
chore/remove-dead-plugin-loader-hook
Aug 11, 2026
Merged

chore: remove the dead hook-plugin_loader.py#410
abrignoni merged 1 commit into
mainfrom
chore/remove-dead-plugin-loader-hook

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Removes the dead PyInstaller hook. It targets a module named plugin_loader, but this core imports scripts.plugin_loader, so the bare name never enters any import graph and PyInstaller never consults the hook — it has been inert since the loader moved into scripts/, and its own TODO comment predicted the break. The hidden imports it was meant to provide are declared explicitly in the spec files since the frozen-build fixes landed across the cores.

Where the specs carried a comment referencing the hook, the comment is trimmed in the same commit.

Verification: rebuilding the frozen macOS CLI from this branch produces identical results to before the removal (same module count, clean empty-input run). For iLEAPP, a test_builds dispatch after merge is the equivalent check.

Part of the cross-core CI leveling pass.

🤖 Generated with Claude Code

The hook targets a module named plugin_loader, but every core imports
scripts.plugin_loader, so the bare name never enters any import graph
and PyInstaller never consults the hook. It has been inert since the
loader moved into scripts/, and its own TODO comment predicted the
break. The hidden imports it was meant to provide are covered
explicitly in the spec files since the frozen-build fixes landed.

Verified where a local frozen build is available: rebuilding the macOS
CLI without the hook produces identical results (same module count,
clean empty-input run).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit ced4314 into main Aug 11, 2026
7 checks passed
@abrignoni
abrignoni deleted the chore/remove-dead-plugin-loader-hook branch August 11, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant