Repository navigation
fix(build): the Windows engine freeze runs again (0.15.1) - #25
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.
Version sites and the changelog section for 0.15.1: frontend/package.json, both version fields in frontend/package-lock.json, frontend/src/version.ts, backend/app/__init__.py, native/Cargo.toml and the 24 frg-* entries in native/Cargo.lock, src-tauri/Cargo.toml, src-tauri/Cargo.lock, src-tauri/tauri.conf.json and the README badge. 0.15.0 was never published, so the changelog says 0.15.1 also carries it. Ran: type check, cargo metadata --locked for native and src-tauri. Not run: the Windows desktop build, interface, engine and native tests.
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.15.1)
Summary
pyinstaller: error: unrecognized arguments: ...\backend\formrig_engine.py, the same fault seen in FormAT, FormSubstrate and FormLit.setup/freeze_backend.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.15.1 (release commit is last). Bumped the same sites as 0.15.0: CHANGELOG.md, the README badge, backend/app/init.py, frontend/package.json, both fields of frontend/package-lock.json, frontend/src/version.ts, native/Cargo.toml and the frg-* entries of native/Cargo.lock, src-tauri/Cargo.toml, its Cargo.lock entry, and src-tauri/tauri.conf.json.
Checks
backend\formrig_engine.pyand nothing is unrecognized. The line frommain: the script isappand the engine script is unrecognized.npx tsc --noEmitin frontend: passed.cargo metadata --lockedin native/ and src-tauri/: both passed, so the lockfiles agree with the bumped manifests.Not run: a Windows build,
npm run build, vitest, cargo clippy, build and test, the engine checks,setup/notices.py --check, 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.