Skip to content

Automated Dependency Updates for Poetry

Categories: python

Renovate supports updating Poetry dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)pyproject\.toml$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: pypi, github-tags, github-releases.

Default config

{
  "fileMatch": [
    "(^|/)pyproject\\.toml$"
  ]
}

Additional Information

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:

Open items

The below list of features and bugs were current when this page was generated on September 22, 2023.

Feature requests

  • Support git dependencies in Poetry manager #21848
  • Support different Python versions for mono repo when same dependency update in one pull request #20615
  • Add support for setting bumpVersion in Poetry projects (Python) #16704
  • [poetry] detect if allow-prereleases=true #7922

Bug reports

  • Explicit source of Poetry managed Python dependency is not supported #12003