Skip to content

Fix home directory expansion test on Windows - #26

Merged
timkpaine merged 1 commit into
mainfrom
fix-cache-home-windows
Oct 25, 2026
Merged

timkpaine merged 1 commit into
mainfrom
fix-cache-home-windows

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Set USERPROFILE alongside HOME in the cache home-directory expansion test. Windows uses USERPROFILE for Path.expanduser(), so setting only HOME leaves the test pointing at the CI runner's home directory. Production code already uses the correct platform behavior.

All 115 tests and Ruff pass locally. The same test fix is backported in conda-forge/staged-recipes#35354, where Windows CI reproduced the failure.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Test Results

115 tests  ±0   115 ✅ ±0   1s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 0083e54. ± Comparison against base commit 958920f.

@timkpaine
timkpaine merged commit b1fb2c0 into main Oct 25, 2026
2 checks passed
@timkpaine
timkpaine deleted the fix-cache-home-windows branch October 25, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant