0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-11 05:39:10 +00:00
renovatebot_renovate/lib/modules/manager/poetry
2025-01-09 10:35:47 +00:00
..
__fixtures__ feat(poetry): support GCloud credentials for Google Artifact Registry when locking (#32586) 2025-01-08 12:28:11 +00:00
__snapshots__ fix(manager/poetry): fix schema for optional dependencies (#32096) 2024-10-30 19:19:44 +00:00
artifacts.spec.ts feat(poetry): support GCloud credentials for Google Artifact Registry when locking (#32586) 2025-01-08 12:28:11 +00:00
artifacts.ts refactor: refactor Google Auth util (#33486) 2025-01-09 10:35:47 +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.