Skip to content

fix(build): the Windows engine freeze runs again (0.47.1) - #19

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/windows-freeze-0.47.1
Dec 1, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/windows-freeze-0.47.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

fix(build): the Windows engine freeze runs again (0.47.1)

Summary

  • Windows builds fail at the engine freeze with pyinstaller: error: unrecognized arguments: ...\formref_engine.py, the same fault seen in FormAT, FormSubstrate and FormLit.
  • Cause: in backend/freeze_engine.bat the --add-data value for THIRD-PARTY-NOTICES.txt had no space before --collect-submodules, so cmd passed ...;.--collect-submodules as one argument. PyInstaller then took app as the script and rejected the real engine script.
  • Fix: one space. macOS and Linux use their own freeze script, which was never affected.
  • Release 0.47.1. 0.47.0 was never published, so this release carries it too.

Commits

  • fix(build): the Windows engine freeze passes the notices file and the next option as two arguments
  • chore(release): v0.47.1, the Windows engine freeze runs again

Version

v0.47.1 (release commit is last). Bumped the same version sites as 0.47.0: CHANGELOG.md, the README badge, backend/app/core/config.py, clipper/manifest.json, both spans in frontend/index.html, frontend/package.json, both fields of frontend/package-lock.json, native/formref-core Cargo.toml and Cargo.lock, src-tauri/Cargo.toml, Cargo.lock and tauri.conf.json.

Checks

  • The fixed freeze line, split into arguments the way cmd does and given to PyInstaller 6.22.3's own argument parser: the only script is formref_engine.py and nothing is unrecognized. The line from main: the script is app and the engine script is unrecognized.
  • npx tsc --noEmit in frontend: passed.
  • cargo metadata --locked --no-deps in native/formref-core and src-tauri: both passed.
  • CI's em dash and emoji scan of tracked markdown: clean.

Not run: a Windows build, setup/notices.py --check (the engine packages are not installed where this ran), npm run build, cargo build and test, pytest, CI.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

The short hashes change when the commits are signed.

… next option as two arguments

A missing space after the THIRD-PARTY-NOTICES.txt --add-data value joined it
to --collect-submodules in cmd, so PyInstaller took the wrong word as the script
and stopped with "unrecognized arguments" on the engine script. Windows
builds failed at the freeze step; macOS and Linux use their own freeze
script, which was never affected.
The Windows build packs the engine again: backend/freeze_engine.bat had lost the space between the notices file and the next option, so PyInstaller stopped with unrecognized arguments. 0.47.0 was never published, so this release carries its menu changes too. Every version site moved from 0.47.0 to 0.47.1 by hand: README.md badge, backend/app/core/config.py VERSION, clipper/manifest.json, both spans in frontend/index.html, frontend/package.json, both version fields of frontend/package-lock.json, native/formref-core Cargo.toml and Cargo.lock, src-tauri Cargo.toml, Cargo.lock and tauri.conf.json. CHANGELOG.md has the v0.47.1 section.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 1, 2026 03:23
@nodemode-ai
nodemode-ai merged commit c49c0fa into main Dec 1, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/windows-freeze-0.47.1 branch December 1, 2026 03:26
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