Skip to content

Conversation

@ntBre
Copy link
Contributor

@ntBre ntBre commented Jul 17, 2025

Summary

This came up on Discord and also in #19387, but on macOS the tmp directory is a symlink to /private/tmp, which breaks this filter. I'm still not quite sure why only these tests are affected when we use the tempdir_filter elsewhere, but hopefully this fixes the immediate issue. Just tempdir.path().canonicalize() also worked, but I used dunce since that's what I saw in other tests (I guess it's not just these tests).

Some related links from uv:

Thanks to @zanieb for those!

Test Plan

I tested the main branch on my MacBook and reproduced the test failure, then confirmed that the tests pass after the change. Now to make sure it passes on Windows, which caused most of the trouble in the first PR!

@ntBre ntBre added the internal An internal refactor or improvement label Jul 17, 2025
@ntBre
Copy link
Contributor Author

ntBre commented Jul 17, 2025

Yeah this is basically what I was afraid of with Windows. I'll try just including both filters and then bust out the Windows VM too if I have to.

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre merged commit 1fd9103 into main Jul 17, 2025
35 checks passed
@ntBre ntBre deleted the brent/macos-filter branch July 17, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants