Skip to content

Commit 4334754

Browse files
committed
chore: release v0.10.8.post2
1 parent c43a375 commit 4334754

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

crates/uv-ffi/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and 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

1046
Persistent Engine

crates/uv-ffi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "uv-ffi"
7-
version = "0.10.8.post1"
7+
version = "0.10.8.post2"
88
description = "Persistent in-process execution engine for uv — internal dependency of omnipkg"
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)