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

Error on lockfiles with incoherent wheel versions

#12235Merged
Comparing
konsti/locked-version-coherence
(
eb6dcc0
) with
main
(
fe06f1a
)
CodSpeed Performance Gauge
+1%
Improvements
0
Regressions
0
Untouched
14
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

wheelname_tag_compatibility[flyte-short-incompatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-short-incompatible]
CodSpeed Performance Gauge
+8%
829.7 ns
771.4 ns
wheelname_tag_compatibility[flyte-long-incompatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-long-incompatible]
CodSpeed Performance Gauge
+2%
1.3 µs
1.2 µs
wheelname_tag_compatibility[flyte-short-compatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-short-compatible]
CodSpeed Performance Gauge
+2%
1.6 µs
1.5 µs
wheelname_tag_compatibility[flyte-long-compatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_tag_compatibility::wheelname_tag_compatibility[flyte-long-compatible]
CodSpeed Performance Gauge
+2%
1.8 µs
1.8 µs
wheelname_parsing[flyte-short-incompatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-short-incompatible]
CodSpeed Performance Gauge
+1%
5.2 µs
5.1 µs
wheelname_parsing[flyte-short-compatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-short-compatible]
CodSpeed Performance Gauge
+1%
5.2 µs
5.2 µs
resolve_warm_airflow
crates/uv-bench/benches/uv.rs::uv::resolve_warm_airflow::resolve_warm_airflow
CodSpeed Performance Gauge
+1%
716 ms
712.3 ms
wheelname_parsing[flyte-long-compatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-long-compatible]
CodSpeed Performance Gauge
0%
13.3 µs
13.2 µs
wheelname_parsing[flyte-long-incompatible]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_parsing::wheelname_parsing[flyte-long-incompatible]
CodSpeed Performance Gauge
0%
15.6 µs
15.6 µs
wheelname_parsing_failure[flyte-long-extension]
crates/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_wheelname_parsing_failure::wheelname_parsing_failure[flyte-long-extension]
CodSpeed Performance Gauge
0%
1.8 µs
1.8 µs
wheelname_parsing_failure[flyte-short-extension]
crates/uv-bench/benches/distribution_filename.rs::uv_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/uv-bench/benches/distribution_filename.rs::uv_distribution_filename::benchmark_build_platform_tags::build_platform_tags[burntsushi-archlinux]
CodSpeed Performance Gauge
0%
280.5 µs
280.5 µs
resolve_warm_jupyter_universal
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter_universal::resolve_warm_jupyter_universal
CodSpeed Performance Gauge
-1%
182.6 ms
183.7 ms
resolve_warm_jupyter
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter::resolve_warm_jupyter
CodSpeed Performance Gauge
-1%
59.5 ms
60.1 ms

Commits

Click on a commit to change the comparison range
Base
main
fe06f1a
+1%
Reject lockfiles with incoherent versions Reject lockfiles where the package version and the wheel versions are incoherent. This implicitly checks that all wheel files have the same version. It does not check for the source dist version, since a source dist may not contain a version in the filename and attempting to deserialize source dist filenames we may not need is a performance overhead for something that's already slow in `uv run`. Fixes #12164
eb6dcc0
4 days ago
by konstin
Home Terms PrivacyDocs