Avatar for the astral-sh user
astral-sh
uv
BlogDocs

Improve error message for uv init already init-ed

#7198Merged
Comparing
hauntsaninja:already-init-error
(
fa76fa4
) with
main
(
bf33a7c
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
14
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

wheelname_parsing[flyte-long-incompatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-long-incompatible]
CodSpeed Performance Gauge
0%
11.7 µs
11.7 µs
wheelname_parsing[flyte-long-compatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-long-compatible]
CodSpeed Performance Gauge
0%
8.9 µs
8.9 µs
wheelname_parsing[flyte-short-compatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-short-compatible]
CodSpeed Performance Gauge
0%
5.4 µs
5.4 µs
wheelname_parsing[flyte-short-incompatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-short-incompatible]
CodSpeed Performance Gauge
0%
5.5 µs
5.5 µs
wheelname_parsing_failure[flyte-long-extension]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_parsing_failure::wheelname_parsing_failure[flyte-long-extension]
CodSpeed Performance Gauge
0%
1.7 µs
1.7 µs
wheelname_parsing_failure[flyte-short-extension]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_parsing_failure::wheelname_parsing_failure[flyte-short-extension]
CodSpeed Performance Gauge
0%
1.7 µs
1.7 µs
build_platform_tags[burntsushi-archlinux]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_build_platform_tags::build_platform_tags[burntsushi-archlinux]
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
resolve_warm_jupyter_universal
crates/bench/benches/uv.rs::uv::resolve_warm_jupyter_universal::resolve_warm_jupyter_universal
CodSpeed Performance Gauge
0%
335.5 ms
336.9 ms
resolve_warm_airflow
crates/bench/benches/uv.rs::uv::resolve_warm_airflow::resolve_warm_airflow
CodSpeed Performance Gauge
0%
2 s
2 s
wheelname_tag_compatibility[flyte-long-compatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-long-compatible]
CodSpeed Performance Gauge
-1%
2 µs
2.1 µs
wheelname_tag_compatibility[flyte-short-compatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-short-compatible]
CodSpeed Performance Gauge
-1%
2 µs
2.1 µs
resolve_warm_jupyter
crates/bench/benches/uv.rs::uv::resolve_warm_jupyter::resolve_warm_jupyter
CodSpeed Performance Gauge
-1%
90.1 ms
91.4 ms
wheelname_tag_compatibility[flyte-long-incompatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-long-incompatible]
CodSpeed Performance Gauge
-2%
1.5 µs
1.5 µs
wheelname_tag_compatibility[flyte-short-incompatible]
crates/bench/benches/distribution_filename.rs::distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-short-incompatible]
CodSpeed Performance Gauge
-6%
955.6 ns
1,013.9 ns

Commits

Click on a commit to change the comparison range
Base
main
bf33a7c
0%
Improve error message for uv init already init-ed https://discord.com/channels/1039017663004942429/1207998321562619954/1282411049106145400 Could maybe improve further, e.g. check for [project] or [tool.uv] sections
94be7a8
3 months ago
by hauntsaninja
-1%
Update init.rs
fa76fa4
3 months ago
by charliermarsh
Home Terms PrivacyDocs