mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-08 21:22:38 +00:00
934c01dd62
* feat(pip-compile): support --constraint alias and --overrides for uv uv accepts both --constraint and --constraints (clap aliases) and records the exact form used into lockfile headers. Only --constraints was in the uv allowlist, so --constraint headers were rejected. Similarly, uv supports --override/--overrides for version overrides, but neither form was recognized by Renovate at all. This commit: - adds --constraint to uvOptionsWithArguments (value handler already handles both forms) - adds --override and --overrides to uvOptionsWithArguments with a value handler that parses overridesFiles - tracks override files as dependencies in the file graph (like constraints) so lockfiles are recompiled when overrides change - uses dotted mermaid edges for overrides (same as constraints) Ref: https://github.com/renovatebot/renovate/discussions/39488 Co-authored-by: Cursor <cursoragent@cursor.com> * test(pip-compile): add coverage for overrides dependency tracking Add a test case in extract.spec.ts that exercises the overridesFiles loop in extractAllPackageFiles, fixing the codecov/patch failure. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>