Repository navigation
fix(build): the Windows engine freeze runs again (0.47.1) - #19
Merged
Merged
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(build): the Windows engine freeze runs again (0.47.1)
Summary
pyinstaller: error: unrecognized arguments: ...\formref_engine.py, the same fault seen in FormAT, FormSubstrate and FormLit.backend/freeze_engine.batthe--add-datavalue forTHIRD-PARTY-NOTICES.txthad no space before--collect-submodules, so cmd passed...;.--collect-submodulesas one argument. PyInstaller then tookappas the script and rejected the real engine script.Commits
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
formref_engine.pyand nothing is unrecognized. The line frommain: the script isappand the engine script is unrecognized.npx tsc --noEmitin frontend: passed.cargo metadata --locked --no-depsin native/formref-core and src-tauri: both passed.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.