Skip to main content

Dynamic versioning based on VCS tags for uv/hatch project

Project description

uv-dynamic-versioning

PyPI version

poetry-dynamic-versioning influenced dynamic versioning tool for uv/hatch, powered by dunamai.

[!NOTE] This plugin doesn't work with the uv build backend right now. (ref. astral-sh/uv#14561)

Installation

Update or add build-system to use uv-dynamic-versioning.

[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

Plugins

This project offers two plugins:

  • Version source plugin: is for setting a version based on VCS.
  • Metadata hook plugin: is for setting dependencies and optional-dependencies dynamically based on VCS version. This plugin is useful for monorepo.

See Version Source and Metadata Hook for more details.

Tips

See Tips.

Examples

See Examples.

Projects Using uv-dynamic-versioning

And more.

Alternatives

  • hatch-vcs: Hatch plugin for versioning with your preferred VCS.
  • versioningit: Versioning It with your Version In Git.

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

uv_dynamic_versioning-0.14.0.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

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

uv_dynamic_versioning-0.14.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file uv_dynamic_versioning-0.14.0.tar.gz.

File metadata

  • Download URL: uv_dynamic_versioning-0.14.0.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for uv_dynamic_versioning-0.14.0.tar.gz
Algorithm Hash digest
SHA256 574fbc07e87ace45c01d55967ad3b864871257b98ff5b8ac87c261227ac8db5b
MD5 ec33ad6c27bc71a67afb74f671992c98
BLAKE2b-256 15ef63270118de5af8f45ba417946290b63f86b0b2a7d07d739d5dc619462711

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_dynamic_versioning-0.14.0.tar.gz:

Publisher: publish.yml on ninoseki/uv-dynamic-versioning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uv_dynamic_versioning-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for uv_dynamic_versioning-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e087c346a786e98d41292ac2315180fb700cedfb30565fc973d64ce11a112387
MD5 9654756f39b4f3374b8c5cd0ebf12b84
BLAKE2b-256 893935773a629ac27d8803ff5ed86bde89d06f77041d7afa0a06cdc584ee8c6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_dynamic_versioning-0.14.0-py3-none-any.whl:

Publisher: publish.yml on ninoseki/uv-dynamic-versioning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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