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.6.tar.gz (3.1 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.6.tar.gz.

File metadata

  • Download URL: poetry_setuptools_scm_support-0.5.6.tar.gz
  • Upload date:
  • Size: 3.1 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.6.tar.gz
Algorithm Hash digest
SHA256 f07381f82696c4be8477294cf90b6e1d10c4f142118260a7c25cee38b1b8afe4
MD5 c4ad4f133bcc5474cb8f515844ad645d
BLAKE2b-256 c528facc2ef8510e98ce807c1edebbf6f87887248b9e0fc34eb044964b94da41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_setuptools_scm_support-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 43ef45ced647e6934c3de6cb44f5b7bedca9742da58e105d7e0aaef3e0100d4c
MD5 aa543d9dbbc4a6bc8f13a9482a512b32
BLAKE2b-256 ba955f751d165da3159e24d109a1cd23bfd2bc32abaa8491d4df5511fba0ed20

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