astral-sh
uv
BlogDocsChangelog

fix: handle Windows special filenames in cache clean

#17241
Comparing
blueberrycongee:fix/windows-special-filename-cache-clean
(
d6de313
) with
main
(
4269f88
)
CodSpeed Performance Gauge
0%
Untouched
5
Ignored
1

Benchmarks

Passed

resolve_warm_jupyter
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter
CodSpeed Performance Gauge
+3%
75.6 ms73.3 ms
resolve_warm_jupyter_universal
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter_universal
CodSpeed Performance Gauge
0%
138.6 ms138.5 ms
resolve_warm_airflow
crates/uv-bench/benches/uv.rs::uv::resolve_warm_airflow
CodSpeed Performance Gauge
-1%
458.8 ms461.6 ms
resolve_warm_jupyter
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter
CodSpeed Performance Gauge
-1%
41.5 ms41.8 ms
resolve_warm_jupyter_universal
crates/uv-bench/benches/uv.rs::uv::resolve_warm_jupyter_universal
CodSpeed Performance Gauge
-2%
208.1 ms212.3 ms

Ignored

resolve_warm_airflow
crates/uv-bench/benches/uv.rs::uv::resolve_warm_airflow
Ignored
CodSpeed Performance Gauge
-1%
789.5 ms799.7 ms

Commits

Click on a commit to change the comparison range
Base
main
4269f88
-0.05%
fix: handle Windows special filenames in cache clean On Windows, files with special characters (like trailing dots) cannot be deleted using standard Win32 API paths due to path normalization. This fix uses the extended-length path prefix (\\?\) to bypass normalization when the initial deletion fails with NotFound or InvalidInput errors. Fixes #16586
d6de313
11 hours ago
by blueberrycongee
© 2025 CodSpeed Technology
Home Terms Privacy Docs