Skip to content

fix(build): the Windows engine freeze runs again (0.57.1) - #27

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

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

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

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

Summary

  • Windows builds failed at the engine freeze with pyinstaller: error: unrecognized arguments: ...\backend\formlit_engine.py.
  • Cause: in setup/freeze_backend.bat the --add-data value for THIRD-PARTY-NOTICES.txt had no space before --hidden-import, so cmd passed ...;.--hidden-import as one argument. PyInstaller then took app.engine.cmd_library as the script and rejected the real engine script. It came in with the commit that ships the third-party licence texts.
  • Fix: one space. macOS and Linux use setup/freeze_backend, which was never affected.
  • Release 0.57.1. 0.57.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): 0.57.1, the Windows engine freeze runs again

Version

v0.57.1 (release commit is last). Bumped: frontend/package.json, both fields of frontend/package-lock.json, frontend/src/version.ts, backend/app/init.py, src-tauri/Cargo.toml, its Cargo.lock entry, src-tauri/tauri.conf.json, the README badge, the three HASHOUT_LOG headers, and a CHANGELOG section. SECURITY.md already names 0.57.x. The demo bundles are unchanged; nothing in this release reaches them.

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 backend\formlit_engine.py and nothing is unrecognized. The line from main, the same way: the script is app.engine.cmd_library and the engine script is unrecognized, the same error as the failed Windows run.
  • The edited file keeps its CRLF line endings.

Not run: a Windows build, the Windows engine --selfcheck, 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 --hidden-import in cmd, so PyInstaller read app.engine.cmd_library as the
script and stopped with "unrecognized arguments" on the engine script.
Windows builds failed at the freeze step; macOS and Linux use
setup/freeze_backend, which was never affected.
Version sites, as 0.57.0's release: frontend/package.json, both fields of
frontend/package-lock.json, frontend/src/version.ts,
backend/app/__init__.py, src-tauri/Cargo.toml, its Cargo.lock entry,
src-tauri/tauri.conf.json, the README badge and the three HASHOUT_LOG
headers. SECURITY.md already names 0.57.x. CHANGELOG v0.57.1 dated
2026-11-30; v0.57.0 was never published, so this release carries it too.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 1, 2026 02:17
@nodemode-ai
nodemode-ai merged commit d669c8d into main Dec 1, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/windows-freeze-0.57.1 branch December 1, 2026 02:40
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