Skip to content
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

Add docs for uv pip compile and renovate #11204

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/guides/integration/dependency-bots.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,28 @@ need to be explicitly defined using
}
```

### `uv pip compile` requirements files

Renovate supports updating dependencies in requirements files generated by
[`uv pip compile`](../../pip/compile.md).

The header on the file is used to determine if `uv` or `pip-tools` should be used.

Since requirements files can be named arbitrarily, a
[`fileMatch`](https://docs.renovatebot.com/configuration-options/#filematch) should be used to
define target files:

```jsx title="renovate.json5"
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
{
"pip-compile": {
fileMatch: ["(^|/)requirements\\.txt$"],
},
};
}
Comment on lines +79 to +86
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
{
"pip-compile": {
fileMatch: ["(^|/)requirements\\.txt$"],
},
};
}
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
"pip-compile": {
fileMatch: ["(^|/)requirements\\.txt$"],
},
}

```

## Dependabot

Support for uv is not yet available. Progress can be tracked at
Expand Down
Loading