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.13.0.tar.gz (38.8 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.13.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv_dynamic_versioning-0.13.0.tar.gz
  • Upload date:
  • Size: 38.8 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.13.0.tar.gz
Algorithm Hash digest
SHA256 3220cbf10987d862d78e9931957782a274fa438d33efb1fa26b8155353749e06
MD5 7fde68c12459ab5bc759997e8347ce2c
BLAKE2b-256 24b746e3106071b85016237f6de589e99f614565d10a16af17b374d003272076

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_dynamic_versioning-0.13.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.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for uv_dynamic_versioning-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86d37b89fa2b6836a515301f74ea2d56a1bc59a46a74d66a24c869d1fc8f7585
MD5 12ec7973989b3e305169a2b2db6a9e2e
BLAKE2b-256 284f15d9ec8aaed4a78aca1b8f0368f0cdd3cca8a04a81edbf03bc9e12c1a188

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_dynamic_versioning-0.13.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