Skip to main content

No project description provided

Project description

A Poetry plugin that integrates setuptools_scm https://pypi.org/project/setuptools-scm/ to console

Updates pyproject.toml file version with a calculated one

The idea is to add a mechanism for managing dev builds' versions guaranteeing uniqueness of them at deploy time.

Versions are calculated taking into account the distance between current commit and last tagged one, and current commit revision hash

examples:

poetry version-calculate

1.0.1.dev1+g1e0ede4

poetry version-calculate date

2025.4.1.1.dev1+g1e0ede4

Note about date format:

Two digits year is taken by default, you can change this behaviour making a previous git tag with a different supporten format, in this case for example

git tag 2025.4.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry_setuptools_scm_support-0.5.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file poetry_setuptools_scm_support-0.5.1.tar.gz.

File metadata

  • Download URL: poetry_setuptools_scm_support-0.5.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.12 Linux/6.8.0-57-generic

File hashes

Hashes for poetry_setuptools_scm_support-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3f6d2ff3f90e2f7919980f61e2cfcdf4d2e2ad8fbb35e8456d008bdbffc95eb2
MD5 bd250b98d9e0de8293bd796763e22fe0
BLAKE2b-256 3dcb97caf179cfd55f722be1ebcba7723ef09e43b059d149aec6e437971d00b9

See more details on using hashes here.

File details

Details for the file poetry_setuptools_scm_support-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_setuptools_scm_support-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65282dbd21ff24d3a67505c6ab34e24f671eefd07886e2df634721486c9396da
MD5 5a169c7c5abc5f427f21af6615f56c2e
BLAKE2b-256 daf91023358a1bce691c53c8b057b74672e32c5a61cc7dd82d9c8aecc40c3751

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page