github MakazhanAlpamys/Soup v0.25.1
v0.25.1 — Windows py3.9 autopilot fix

latest releases: v0.77.1, v0.77.0, v0.76.1...
6 months ago

Patch release

Fixes a false-positive path-traversal error in soup autopilot on
Windows + Python 3.9.

What's fixed

  • soup autopilot on Windows + Python 3.9 — the --data and --output path guards were using Path.resolve() + relative_to(), which on Windows 3.9 occasionally leaves 8.3 short names (C:\Users\RUNNER~1\...) on one side of the comparison but not the other, causing relative_to to raise ValueError even when the paths point to the same location. Replaced with os.path.realpath + os.path.commonpath via a new _is_under_cwd helper. Fixes #22 path-handling class of issues on Windows.

  • CI encoding on Windows — added PYTHONUTF8=1 and PYTHONIOENCODING=utf-8 to the CI workflow env. trl.trainer.grpo_trainer has been flaky on windows-latest because some upstream files are read without an explicit encoding and Windows defaults to cp1252. Also added a defensive skip in tests/test_bugfixes.py::TestGRPOCPUMinNewTokens as a belt-and-braces layer.

Upgrade

pip install --upgrade soup-cli

No breaking changes. All v0.25.0 users on macOS / Linux / Windows py3.11+ are unaffected. Windows + py3.9 soup autopilot users should upgrade.

Security

No security changes. The code_exec_reward sandbox status, MLX backend coverage, and documented design limitations from v0.25.0 are unchanged — see #21, #22, #23 for the follow-up roadmap.

Don't miss a new Soup release

NewReleases is sending notifications on new releases.