← Back to context

Comment by umko21

24 days ago

The config for uv won't work. uv only supports a full timestamp for this config, and no rolling window day option afaik. Am I crazy or is this llm slop?

https://docs.astral.sh/uv/concepts/resolution/#dependency-co...

> Define a dependency cooldown by specifying a duration instead of an absolute value. Either a "friendly" duration (e.g., 24 hours, 1 week, 30 days) or an ISO 8601 duration (e.g., PT24H, P7D, P30D) can be used.

  • My bad. This works for per project configuration, but not for global user configuration.

    • It 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!)

      3 replies →

    • I 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/