File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.10.8.post2] — 2026-03-28
9+
10+ Windows temp dir hotfix — replace hardcoded /tmp/uv with platform-safe fallback
11+
12+ ## What's Fixed
13+
14+ Windows CI runners don't set ` HOME ` , causing uv-ffi to fall through to the
15+ hardcoded ` /tmp/uv ` path which doesn't exist on Windows. This produced a
16+ panic at ` lib.rs:49 ` on every FFI call:
17+
18+ UvEngine: interpreter query failed: Io(Custom { kind: NotFound,
19+ error: PathError { path: "D:/tmp/uv\\.tmpXXXXXX" ... } })
20+
21+ The cache directory resolution now checks in order:
22+ 1 . ` UV_CACHE_DIR ` env var (explicit override)
23+ 2 . ` HOME ` (Unix)
24+ 3 . ` USERPROFILE ` (Windows home)
25+ 4 . ` LOCALAPPDATA ` (Windows fallback)
26+ 5 . ` std::env::temp_dir() ` (guaranteed valid on all platforms)
27+
28+ ## Who is affected
29+
30+ Anyone running uv-ffi on Windows — including GitHub Actions runners.
31+ All Unix platforms are unaffected.
32+
33+ ## Upgrade
34+
35+ pip install --upgrade uv-ffi
36+
37+ ---
38+
39+ ** 📝 Code Changes:**
40+ - UPDATE: crates/uv-ffi/src/lib.rs (25 lines changed)
41+
42+ _ 1 file changed, 23 insertions(+), 2 deletions(-)_
43+
844## [ 0.10.8.post1] — 2026-03-15
945
1046Persistent Engine
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "maturin"
44
55[project ]
66name = " uv-ffi"
7- version = " 0.10.8.post1 "
7+ version = " 0.10.8.post2 "
88description = " Persistent in-process execution engine for uv — internal dependency of omnipkg"
99readme = " README.md"
1010requires-python = " >=3.8"
You can’t perform that action at this time.
0 commit comments