3 ms·
My bad. This works for per project configuration, but not for global user configuration.
by umko21 6mo ago
My bad. This works for per project configuration, but not for global user configuration.
- js2 6mo agoI think it should work at the user config level too: > If project-, user-, and system-level configuration files are found, the settings will be merged, with project-level configuration taking precedence over the user-level configuration, and user-level configuration taking precedence over the system-level configuration. https://docs.astral.sh/uv/concepts/configuration-files/ https://docs.astral.sh/uv/concepts/configuration-files/
- woodruffw 6mo agoIt should work for global configuration too, please file an issue if you’re observing otherwise. (Make sure you’re on a version that actually supports relative times, please!)
- sbarre 6mo agoThis is what tripped me up. I added that config and then got this error: error: Failed to parse: `.config/uv/uv.toml` Caused by: TOML parse error at line 1, column 17 | 1 | exclude-newer = "7 days" | ^^^^^^^^ failed to parse year in date "7 days": failed to parse "7 da" as year (a four digit integer): invalid digit, expected 0-9 but got I was on version 0.7.20, so I removed that line, ran "uv self update" and upgraded to 0.11.2 and then re-added the config and it works fine now.