renovate/lib/versioning/poetry/readme.md
Nikita Chashchinskii 6684a95c6b feat: Add poetry versioning code (#3432)
feat: Add poetry versioning code
2019-03-24 16:28:02 +01:00

731 B

Poetry versioning

Documentation and URLs

https://poetry.eustace.io/docs/versions/

What type of versioning is used?

Poetry uses Semantic Versioning 2.0.

Are ranges supported? How?

Poetry supports ranges in a similar manner to npm, but not identical. The important differences are:

Use of commas

Multiple version requirements can be separated with a comma, e.g. >= 1.2, < 1.5. We interpret this to mean AND.

Range Strategy support

Poetry versioning should support all range strategies - pin, replace, bump, extend.

Implementation plan/status

  • Add poetry2npm and npm2poetry functions to leverage existing npm semver logic
  • Exact version support
  • Range support