0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/manager/poetry
Risu 397ab49ef3
docs(managers): add missing url and displayName (#32621)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-01 08:47:27 +00:00
..
__fixtures__ fix(manager/poetry): fix schema for optional dependencies (#32096) 2024-10-30 19:19:44 +00:00
__snapshots__ fix(manager/poetry): fix schema for optional dependencies (#32096) 2024-10-30 19:19:44 +00:00
artifacts.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
artifacts.ts chore(manager/poetry): log determined poetry version (#29028) 2024-05-13 12:31:32 +00:00
extract.spec.ts fix(manager/poetry): fix schema for optional dependencies (#32096) 2024-10-30 19:19:44 +00:00
extract.ts refactor: Rename unwrapOrElse to unwrapOr for Result utility (#32787) 2024-11-28 17:04:02 +00:00
index.ts docs(managers): add missing url and displayName (#32621) 2024-12-01 08:47:27 +00:00
readme.md docs: fix typo in poetry/readme.md (#30460) 2024-07-29 16:21:11 +00:00
schema.spec.ts feat(manager/poetry): add support for bumpVersion option (#26377) 2023-12-19 19:11:04 +00:00
schema.ts fix(manager/poetry): fix schema for optional dependencies (#32096) 2024-10-30 19:19:44 +00:00
types.ts feat(manager/poetry): support git rev dependencies (#26367) 2024-01-04 08:48:39 +00:00
update-locked.spec.ts refactor: change currentVersion to non-optional in UpdateLockedConfig (#18406) 2022-10-21 15:29:39 +00:00
update-locked.ts refactor: Rename unwrapOrElse to unwrapOr for Result utility (#32787) 2024-11-28 17:04:02 +00:00

Both Poetry 0.x and 1.x versions are supported.

Whenever the pyproject.toml file is updated, the Poetry lock file will be checked for updates as well.

The following depTypes are supported by the Poetry manager:

!!! 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.