diff --git a/docs/concepts/resolution.md b/docs/concepts/resolution.md index d133e40bb..742a66a5e 100644 --- a/docs/concepts/resolution.md +++ b/docs/concepts/resolution.md @@ -721,8 +721,16 @@ Values may also be specified for specific packages, e.g., exclude-newer-package = { setuptools = "2006-12-02T02:07:43Z" } ``` -The same flag also accepts `=false` to opt a package out of the `--exclude-newer` -restriction, e.g., to allow resolving packages from an index that does not publish upload times. +The package option also accepts `=false` to opt a package out of the restriction, e.g., +`--exclude-newer-package setuptools=false`, or: + +```pyproject.toml +[tool.uv] +exclude-newer-package = { setuptools = false } +``` + +This is useful to temporarily use a newer version of package or to allow resolving a package from an +index that does not publish upload times. Package-specific values will take precedence over global values.