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.3.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.3.tar.gz.

File metadata

  • Download URL: poetry_setuptools_scm_support-0.5.3.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.3.tar.gz
Algorithm Hash digest
SHA256 dc3b1661e635d7a1298605032eca7a7185bd3bf05a1860cc0243a037a4aca080
MD5 b72ecf85fc861851c9bf0e8aa0973b4d
BLAKE2b-256 facd5abf97c10b3364840b7f9bc5ab55de800b3c9cb40753dc45a43e6a0b403e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_setuptools_scm_support-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 44199560d8e5aa6b6f6157335c0e9532b5b57ff66402f70d930b04a6d624bab7
MD5 ee248a2f6eb16829892bb3d33c764ef5
BLAKE2b-256 3b54c9a66be2698b4290e1913fbe4de31d155ae2d42e6e3a0727389dc8b4ed8d

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