Repository navigation
FormDeck 0.49.0: pin onnxruntime 1.31.0 on Intel Macs so the macOS x64 build installs - #32
Merged
Merged
Conversation
…d installs (0.49.0) The 0.49.0 desktop build failed on macos-15-intel: pip found no onnxruntime==1.23.2 for the runner's Python, only 1.31.0. PyPI publishes no Intel Mac onnxruntime after 1.23.2, and 1.23.2 stops at cp313, so the Intel build can only use formcompiler's own x86_64 wheels (deps-macos-x64.json, on PIP_FIND_LINKS for macos-x64 only), which hold 1.31.0 for cp312 and cp314. The Intel line now pins 1.31.0; Apple silicon, Linux and Windows keep 1.30.0. Remove Background only uses InferenceSession, get_inputs and run on the CPU provider, the same in both. NOTICE.md's onnxruntime row says where the Intel build comes from. setup/notices.py --check passes.
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.
FormDeck 0.49.0: pin onnxruntime 1.31.0 on Intel Macs so the macOS x64 build installs
Summary
The 0.49.0 desktop build failed on
macos-15-intelat the engine's pip install:No matching distribution found for onnxruntime==1.23.2 (from versions: 1.31.0).PyPI publishes no Intel Mac onnxruntime after 1.23.2, and 1.23.2 has no wheel for the runner's Python. The Intel build can only use formcompiler's own x86_64 wheels (
deps-macos-x64.json, onPIP_FIND_LINKSfor macos-x64 only), which hold 1.31.0 for cp312 and cp314. The Intel line inbackend/requirements_macos.txtnow pins 1.31.0. Apple silicon, Linux and Windows keep 1.30.0.Changes
backend/requirements_macos.txt:onnxruntime==1.31.0; platform_machine == "x86_64"(was 1.23.2).NOTICE.md: the onnxruntime row says the Intel build comes from the family's own x86_64 wheel.backend/HASHOUT_LOG.md: the reason.Remove Background only uses
InferenceSession,get_inputsandrunon the CPU provider, the same in 1.30.0 and 1.31.0.Commits
1 commit on top of
main(8ea25ca), authored and committed bynodemode-ai, with no trailers. The version stays 0.49.0, because no v0.49.0 tag or release exists yet.Tests
setup/notices.py --checkpasses.formai-buildmovescompile_v0.49.0to the newmain.Merging
Merge commit, no squash. Then run
formai-build; it offers to movecompile_v0.49.0to the newmain(fast-forward) and build 0.49.0 again.