Avatar for the astral-sh user
astral-sh
uv
Instrumentation
Wall Time
BlogDocsChangelog

Fix `uv sync --no-sources` not switching from editable to registry installations

#15234
Comparing
yumeminami:fix/sync-no-sources-editable-switch
(
cc8e3bc
) with
main
(
705b35c
)
CodSpeed Performance Gauge
0%
Untouched
3

Benchmarks

Passed

resolve_warm_jupyter_universal
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter_universal::resolve_warm_jupyter_universal
CodSpeed Performance Gauge
+1%
201.2 ms199.9 ms
resolve_warm_airflow
crates/uv-bench/benches/uv.rs::uv::resolve_warm_airflow::resolve_warm_airflow
CodSpeed Performance Gauge
0%
747.1 ms746 ms
resolve_warm_jupyter
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter::resolve_warm_jupyter
CodSpeed Performance Gauge
0%
69.7 ms70 ms

Commits

Click on a commit to change the comparison range
Base
main
705b35c
-0.35%
Fix --no-sources not switching from editable to registry installations When --no-sources is used, both uv sync and uv pip install should prefer registry installations over editable/URL installations. Previously, the resolver would still select installed editable packages even when sources were disabled, causing inconsistent behavior. This fix modifies both the resolver's candidate selector and the installer's satisfaction checker to reject non-registry installations when sources are disabled, ensuring proper switching from editable to registry packages.
9b89f34
21 days ago
by yumeminami
+0.64%
Add tests for Issue #15190: Ensure `--no-sources` switches from editable to registry installations
5da7a1a
21 days ago
by yumeminami
+0.34%
Add empty lines in test output for better readability in sync tests
31f69d1
21 days ago
by yumeminami
-0.51%
Change one more usage
cc8e3bc
8 hours ago
by charliermarsh
© 2025 CodSpeed Technology
Home Terms Privacy Docs