Skip to content

Commit

Permalink
Add docs for uv pip compile and renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Feb 3, 2025
1 parent f54979f commit b93b0ba
Showing 1 changed file with 22 additions and 0 deletions.
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$"]
}
}
}
```

## Dependabot

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

0 comments on commit b93b0ba

Please sign in to comment.