Repository navigation
Bump install.sh / install.ps1 pins to unsloth>=2026.11.7 - #18484
Merged
Merged
Conversation
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
danielhanchen
added a commit
that referenced
this pull request
Nov 20, 2026
…e package scan baseline (#18551) ## Summary `Security audit` / `pip scan-packages :: hf-stack` fails on `main` (push run at 22:34 UTC) and on every PR that runs it, e.g. #16729: ``` Summary: 6 HIGH, 175 MEDIUM 6 of the 181 finding(s) above are at a site already reviewed in scripts/scan_packages_baseline.json. What differs from the reviewed entry: HIGH unsloth-zoo unsloth_zoo/compiler.py same matched code, file digest outside the pin HIGH unsloth-zoo unsloth_zoo/mlx/decision.py same matched code, file digest outside the pin HIGH unsloth-zoo unsloth_zoo/mlx/loader.py 3 matched line(s) appended to a reviewed file, none gone HIGH unsloth-zoo unsloth_zoo/mlx/speculative.py same matched code, file digest outside the pin HIGH unsloth-zoo unsloth_zoo/temporary_patches/granitemoehybrid.py same matched code, file digest outside the pin HIGH unsloth-zoo unsloth_zoo/vllm_utils.py same matched code, file digest outside the pin ``` ## Root cause unsloth-zoo 2026.11.7 was published today and the installers now require it (#18484). The scanner pins each reviewed site to the file digest it was reviewed at, so a new zoo release reopens its sites until they are re-reviewed. That is by design; the baseline already carries one entry per reviewed release for each of these files. ## Re-review - Five sites: the matched code is unchanged; only the rest of the file moved. - `unsloth_zoo/mlx/loader.py`: the 3 newly matched lines are MLX array evaluation (`mx.eval(...)`, which forces lazy MLX arrays to compute) and `model.eval()` (inference mode on a module). Neither runs Python's `eval`, and the `__import__(module_name, fromlist=["_"])` match in the same file is the already-reviewed site. ## Changes - `scripts/scan_packages_baseline.json`: six new entries, one per site, each pinned to the 2026.11.7 file digest and inserted after that site's previous entries, as for earlier releases. No existing entry is changed or removed (54 lines added, 0 removed), so no reviewed pin is widened. ## Testing - `python scripts/scan_packages.py unsloth_zoo` against the baseline on `main`: exit 1 with the six HIGH findings above. - The same scan against this branch's baseline: exit 0 (`Summary: 15 MEDIUM`, 24 findings suppressed by baseline).
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.
Summary
install.shandinstall.ps1fromunsloth>=2026.11.6/unsloth-zoo>=2026.11.6tounsloth>=2026.11.7/unsloth-zoo>=2026.11.7so fresh installs resolve to the new wheels.pyproject.tomlalready carriesunsloth_zoo>=2026.11.7, so no change is needed there.v0.1.920-beta.Test plan
bash -n install.shtests/sh/test_relax_unsloth_floors_to_index.sh(23 passed)tests/python/test_desktop_unsloth_spec_no_deps_pair.py,test_no_torch_filtering.py,tests/studio/install/test_rocm_support.py,test_mlx_install.py(850 passed, 4 skipped)install.shon a clean Linux hostinstall.ps1on a clean Windows host