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

File metadata

  • Download URL: poetry_setuptools_scm_support-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a3d89100af33c3753bfde7268c68e797e1c2315b81a4575bbd9e81601f0b7f61
MD5 417411c3a6aedfa9b6aacf8a11b895cf
BLAKE2b-256 3c07e120e1da1b2809616d42e00e03dcf7c109d87a93a573ef6b6f7b0ec12bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_setuptools_scm_support-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f29768f54a161733ce7820081bc569d23addea0a209cb72af1ca79978c131ac
MD5 5fe680322fcee3caa99f1084d5ef9157
BLAKE2b-256 36fb19d278444fe303f03184d7ba49b9c75ddaf7d1694bfe510d9ba839994a40

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