Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

uv-dynamic-versioning

> 编程语言
Open source

Dynamic versioning based on VCS tags for uv/hatch project

200 stars0 likes2 views
WebsiteGitHub

About

Dynamic versioning based on VCS tags for uv/hatch project

uv-dynamic-versioning

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.

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

[!TIP] Pinning build dependencies is recommended. See Pinning Build Dependencies.

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

  • Version Source:
    • IBM/Agentics
    • microsoft/agent-framework
    • modelcontextprotocol/python-sdk
  • Metadata Hook:
    • mkdocstrings/griffe
    • NVIDIA-NeMo/DataDesigner
    • pydantic/pydantic-ai

And more.

Alternatives

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言