mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-04 19:43:41 +00:00
9a27d7aa78
* ci: add local mkdocs-admonitions plugin for prettier to allow admonition preservation * docs: remove uses of `prettier-ignore` for admonitions * test: rather use await expect * chore: use named group exclusively
13 lines
1.1 KiB
Markdown
13 lines
1.1 KiB
Markdown
Poetry 0.x, 1.x and 2.x versions are supported.
|
|
|
|
Whenever the `pyproject.toml` file is updated, the Poetry lock file will be checked for updates as well.
|
|
|
|
!!! warning
|
|
Updating locked versions of Poetry dependencies is at times unreliable.
|
|
We recommended that you pin dependency versions in your `pyproject.toml` instead.
|
|
|
|
Renovate cannot accurately update locked versions of Poetry dependency ranges due to limitations in Poetry.
|
|
For example, if the `pyproject.toml` has a constraint like `coverage = "^7.2"`, and the version in `poetry.lock` is `7.4.1`, and we know that `7.4.3` is available, then Renovate can only run `poetry update --lock --no-interaction coverage` and _hope_ the result is `7.4.3`.
|
|
Poetry does not support updating to a specific/exact version with the `update` command, and the above `update` command may not even update at all sometimes.
|
|
For this reason it's much better to pin dependency versions in `pyproject.toml`, such as `coverage = "7.4.1"` because it then gives Renovate more control and the ability to accurate upgrade dependencies in increments like `7.4.1` to `7.4.3`.
|