fix(packaging): include the prompt encoder runtime dependency #1598
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!1598
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/prompt-archspec-dependency"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hookshot Builder's Python part can contain
astc-encoder-py==0.1.12without its declaredarchspecdependency. Importing the encoder then raisesModuleNotFoundError, so generated controller prompts are unavailable; a game build can fall back to the Switch icons.Pin
archspec==0.2.7in the shared prompt requirements. The Windows package updater now detects that missing pin while retaining--no-deps. Linux also consumes the exact pin, and the requirements hash automatically invalidates its Python dependency cache. The verified wheel is pure Python (py3-none-any), satisfies the encoder'sarchspec>=0.2requirement, and declares no further runtime dependencies.Validation:
--no-deps. A complete part is reused without extraction or pip./tmp.archspec. Read-only isolated imports pass in the build agent's repaired Python withastc-encoder-py==0.1.12andarchspec==0.2.7; the downloaded wheel's metadata and SHA-256 were verified again without changing that environment.eb713584: Windows and Linux source checks, Windows Builder package/setup, Windows Vulkan back end, Linux AppImage, both lowering jobs, and workflow lint all pass. Release-asset upload jobs are skipped for PRs.The complete source suite and AppImage build ran in hosted CI. A fresh Windows Python release part and gameplay were not run locally for this pin-only packaging correction. No public release bundle has been republished by this PR. No global installation, dependency-policy change, release-build modification, or game data is involved.