Repository navigation
LANG-790: Select deployment mirrors by measured speed - #78
Conversation
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
…downloads Co-authored-by: multica-agent <github@multica.ai>
|
Verified In the same isolated container, repeated install with ingress limited by Automatic Python installation now retries the alternate source; cancellation and explicit mirrors do not retry. A source-only change on repeated install is saved without restarting the process. Upgrades honor |
Install and upgrade select download sources without a country or locale lookup. PyPI probes require the target wheel and sample its first MiB before ranking indexes. Native installs try up to three, preserving same-index file-lock retries. Native plugins and managed Compose deployments use the successful index. Explicit indexes bypass selection and fallback; old PyPI.org and Aliyun defaults are treated as automatic.
uv samples the current platform archive from both distributors. Managed Python samples the stripped Linux x86-64 CPython 3.12.12 archive under release
20251120(the release used by uv 0.9.11); a Python mirror override bypasses probing. Docker Hub competes with public mirrors. Saved repositories, digest verification and the final canonical fallback are unchanged.--regionandLANGBOT_REGIONremain accepted with a deprecation notice. CLI telemetry reportsauto. Space stores only serializedCLIMetadatain the features column forcli_operation; arbitrary feature keys are not persisted. Probe results are reported locally, not submitted to Space.Verification on the Singapore host,
python:3.12-slim, native v4.11.8:pypi_index_source: auto, WebUI HTTP 200.