Skip to content

Bump install.sh / install.ps1 pins to unsloth>=2026.11.7 - #18484

Merged
danielhanchen merged 1 commit into
mainfrom
pin-pypi-2026.11.7
Nov 19, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
pin-pypi-2026.11.7

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

  • PyPI release unsloth 2026.11.7 is now live, alongside unsloth_zoo 2026.11.7.
  • Bumps the pinned floors in install.sh and install.ps1 from unsloth>=2026.11.6 / unsloth-zoo>=2026.11.6 to unsloth>=2026.11.7 / unsloth-zoo>=2026.11.7 so fresh installs resolve to the new wheels.
  • pyproject.toml already carries unsloth_zoo>=2026.11.7, so no change is needed there.
  • Tagged on main as v0.1.920-beta.

Test plan

  • bash -n install.sh
  • tests/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)
  • Sanity-run install.sh on a clean Linux host
  • Sanity-run install.ps1 on a clean Windows host

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-19T14:28:59.287607Z 0a91e6a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen
danielhanchen merged commit 2f2490c into main Nov 19, 2026
@danielhanchen
danielhanchen deleted the pin-pypi-2026.11.7 branch November 19, 2026 14:38
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant