Repository navigation
recipe: jiter 0.19.0, and find cargo on new macOS runners - #134
Merged
Merged
Conversation
GitHub's macos-26 image (20261102) installs cargo under Homebrew's keg-only rustup, /opt/homebrew/opt/rustup/bin, which the rebuilt iOS PATH omits. maturin then asks for puccinialin and every Rust recipe fails on iOS.
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.
What
Bumps jiter from 0.15.0 to 0.19.0, and fixes Rust builds on the current macOS runner images.
Why
OpenAI's Python SDK has required
jiter>=0.16.0since 3.4.0, and pypi.flet.dev only has 0.15.0, so mobile builds can't install any recent SDK (#133). PyPI publishes no mobile wheels for jiter.Fixing that exposed a CI break that hits every maturin recipe on iOS. Since actions/runner-images#14990, the macOS images install cargo with Homebrew's keg-only
rustup(/opt/homebrew/opt/rustup/bin) instead ofrustup-init(~/.cargo/bin). Forge rebuilds the iOS PATH from a fixed list, so maturin finds no cargo, asks forpuccinialin, and the build fails. The change is in the shared install script, somacos-15has it too; pinning the label wouldn't help.Changes
recipes/jiter/meta.yaml: version 0.19.0, with no other changes.src/forge/cross.py:cross_kwargsappends the directory of the caller'scargoto the rebuilt PATH. It only appends, so setups that already worked resolve the same cargo as before.puccinialinfailure.Validation
getrandom(the extension imports it weakly).libpython3.14.so, apart from the weakgetrandom, and 16 KB segment alignment.pip downloadcommand now resolvesopenai==3.50.0together withjiter-0.19.0-1-cp314-cp314-android_24_arm64_v8a.whl.Consumer notes
Recent OpenAI SDK releases (3.4.0 and later) install in Flet mobile apps again, on Android and iOS, for Python 3.12 to 3.14. This recipe has no README yet, so there is nothing to link.
Refs #133