-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Use proper environment variables for Windows #6433
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ uv determines the cache directory according to, in order: | |
2. The specific cache directory specified via `--cache-dir`, `UV_CACHE_DIR`, or | ||
[`tool.uv.cache-dir`](../reference/settings.md#cache-dir). | ||
3. A system-appropriate cache directory, e.g., `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Unix and | ||
`{FOLDERID_LocalAppData}\uv\cache` on Windows | ||
`%LOCALAPPDATA%\uv\cache` on Windows | ||
|
||
!!! note | ||
|
||
|
@@ -104,4 +104,4 @@ uv determines the cache directory according to, in order: | |
|
||
It is important for performance for the cache directory to be located on the same file system as the | ||
Python environment uv is operating on. Otherwise, uv will not be able to link files from the cache | ||
into the environment and will instead need to fallback to slow copy operations. | ||
into the environment and you will instead need to use copy mode with slow operations. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this change? We're talking about uv here, e.g., "uv will instead need to fallback to slow copy operations" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. by reading There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does / should do it automatically for you? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then I think Warning message could be improved to mention which mode it fallbacking, in #6397 it says:
Instead:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably worth discussion elsewhere — we have too many issues to go through right now to discuss unrelated changes out of context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be you be willing to update all of the
FOLDERID_
references? I think there are some more.You'll need to update the generated reference with
cargo dev generate-all