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

File metadata

  • Download URL: poetry_setuptools_scm_support-0.5.4.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.4.tar.gz
Algorithm Hash digest
SHA256 092e601b9b73dfac02970cf4a166a83f4a05aac089cd4b7a9a5c34e4a06cf308
MD5 4cbdd59752dbc3cd56d70d8a8320d561
BLAKE2b-256 e08c0f3758103c2281d01c0db5c984e4c6a672613122a9628cf093c79504209c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_setuptools_scm_support-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 980f76251e841a850e236520750363bb5c49e7b1cd3f9ac3fdb5d58bf885fe10
MD5 1fe2547c0ee74ce0ead9be880a578a9b
BLAKE2b-256 c1b0c5cff938f59778959daaaf222119bc1a59c22791b852af90eb6027c00c6d

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