mirror of
https://github.com/unslothai/unsloth.git
synced 2026-08-23 15:53:46 +00:00
* Record the venv's own requirement digests, not the installer's
Every fresh desktop install on Linux and macOS came up ManagedStale and
repaired itself before it would run. From the app's own log:
05:44:22 Managed preflight: install probe result Stale { reason: "studio_install_requirements_changed" }
05:44:22 desktop_preflight completed disposition=ManagedStale
05:44:22 start_managed_repair command called
05:44:24 studio install incomplete -- forcing dependency pass to repair...
05:44:32 Managed preflight: install probe result Ready
The manifest recorded digests from REQ_ROOT, which is the requirements
directory next to whichever install_python_stack.py ran. A desktop bundle
carries its own copy. verify_install reads the INSTALLED package's copy,
because at verify time install_manifest.py is imported out of the venv.
Two different trees, compared to each other.
They agree until a tracked requirement file changes upstream, and then
every install performed by that bundle is stale for ever. v0.1.800-beta
was cut 2026-08-14 and installs unsloth 2026.8.18; #9148 pinned openai in
extras.txt in between. Windows was unaffected only by luck of layout.
The digests now describe the tree the verifier will read. A source or
editable install has no copy under site-packages and still uses the root
it was given, which is what keeps an edited studio.txt invalidating the
manifest on the --local path.
Also: the CI gate reported "saw: ManagedStale" and nothing else on all
four platforms. The reason is logged on its own line, and tail -60 scrolls
it away the moment the backend starts logging, so the one fact that
explained this had to be recovered from an uploaded artifact by hand. All
three log dumps now grep for it.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| conftest.py | ||
| smoke_test_llama_prebuilt.py | ||
| smoke_test_parallel_studio_home.py | ||
| test_base_requirements_reach_install.py | ||
| test_cuda_repair.py | ||
| test_denied_llama_cpp_preflight.py | ||
| test_diffusers_pin.py | ||
| test_download_host_resolve.py | ||
| test_gpu_detection_followups.py | ||
| test_hf_auth.py | ||
| test_install_llama_prebuilt_logic.py | ||
| test_install_manifest.py | ||
| test_install_node_prebuilt_logic.py | ||
| test_install_whisper_prebuilt_logic.py | ||
| test_launch_studio_launcher.py | ||
| test_llama_pr_force_and_source.py | ||
| test_llama_prebuilt_no_space.py | ||
| test_macos_version_compat.py | ||
| test_managed_node_runtime.py | ||
| test_package_discovery.py | ||
| test_pr4562_bugfixes.py | ||
| test_pr5940_followups.py | ||
| test_prebuilt_core.py | ||
| test_probe_timeouts.py | ||
| test_rdna1_unsupported_message_8529.py | ||
| test_rocm_arch_table_parity.py | ||
| test_rocm_gfx_spoof_7331.py | ||
| test_rocm_native_linux_lib_dirs.py | ||
| test_rocm_rdna_routing.py | ||
| test_rocm_support.py | ||
| test_selection_logic.py | ||
| test_setup_denied_install_tree.py | ||
| test_setup_fast_path_guard.py | ||
| test_setup_whisper_status.py | ||
| test_studio_deps_cli.py | ||
| test_studio_extra_matches_requirements.py | ||
| test_torch_probe_classification_parity.py | ||
| test_torch_probe_memoization.py | ||
| test_unsupported_arch_routing_guards_8529.py | ||