Dynamic versioning based on VCS tags for uv/hatch project
Project description
uv-dynamic-versioning
poetry-dynamic-versioning influenced dynamic versioning tool for uv/hatch, powered by dunamai.
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
- microsoft/essex-toolkit: uses the version source plugin.
- modelcontextprotocol/python-sdk: uses the version source plugin.
- pydantic/pydantic-ai: uses the version source and the metadata hook plugins.
And more.
Alternatives
- hatch-vcs: Hatch plugin for versioning with your preferred VCS.
- versioningit: Versioning It with your Version In Git.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file uv_dynamic_versioning-0.8.2.tar.gz
.
File metadata
- Download URL: uv_dynamic_versioning-0.8.2.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c228a46f5752d99cfead1ed83b40628385cbfb537179488d280853c786bf82 |
|
MD5 | 7957186af121c25d2843bdf092869fec |
|
BLAKE2b-256 | 9a9e1cf1ddf02e5459076b6fe0e90e1315df461b94c0db6c09b07e5730a0e0fb |
Provenance
The following attestation bundles were made for uv_dynamic_versioning-0.8.2.tar.gz
:
Publisher:
publish.yml
on ninoseki/uv-dynamic-versioning
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
uv_dynamic_versioning-0.8.2.tar.gz
- Subject digest:
a9c228a46f5752d99cfead1ed83b40628385cbfb537179488d280853c786bf82
- Sigstore transparency entry: 205901539
- Sigstore integration time:
- Permalink:
ninoseki/uv-dynamic-versioning@a5d567ddde01e9350aabd862586c26ca9f07c280
- Branch / Tag:
refs/tags/v0.8.2
- Owner: https://github.com/ninoseki
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish.yml@a5d567ddde01e9350aabd862586c26ca9f07c280
- Trigger Event:
release
- Statement type:
File details
Details for the file uv_dynamic_versioning-0.8.2-py3-none-any.whl
.
File metadata
- Download URL: uv_dynamic_versioning-0.8.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400ade6b4a3fc02895c3d24dd0214171e4d60106def343b39ad43143a2615e8c |
|
MD5 | be3004523e3a6d56c88132eefe834800 |
|
BLAKE2b-256 | bc55a6cffd78511faebf208d4ba1f119d489680668f8d36114564c6f499054b9 |
Provenance
The following attestation bundles were made for uv_dynamic_versioning-0.8.2-py3-none-any.whl
:
Publisher:
publish.yml
on ninoseki/uv-dynamic-versioning
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
uv_dynamic_versioning-0.8.2-py3-none-any.whl
- Subject digest:
400ade6b4a3fc02895c3d24dd0214171e4d60106def343b39ad43143a2615e8c
- Sigstore transparency entry: 205901543
- Sigstore integration time:
- Permalink:
ninoseki/uv-dynamic-versioning@a5d567ddde01e9350aabd862586c26ca9f07c280
- Branch / Tag:
refs/tags/v0.8.2
- Owner: https://github.com/ninoseki
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish.yml@a5d567ddde01e9350aabd862586c26ca9f07c280
- Trigger Event:
release
- Statement type: