Skip to content

Commit 993e849

Browse files
authored
chore(release): single-source the version and bump to 0.1.0 (#99)
Make hatchling the single source of truth for the package version by declaring `dynamic = ["version"]` and reading `__version__` from `src/quartermaster/__init__.py`, eliminating the duplicated literal that previously lived in both pyproject.toml and the package __init__. Bump that single source from 0.0.0 to 0.1.0 for the first release. The lockfile drops its recorded project version accordingly (dynamic).
1 parent bb358bc commit 993e849

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎pyproject.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "quartermaster"
3-
version = "0.0.0"
3+
dynamic = ["version"]
44
description = "A warehouse inventory engine that stays correct under concurrent load."
55
readme = "README.md"
66
requires-python = ">=3.13"
@@ -44,6 +44,9 @@ dev = [
4444
requires = ["hatchling"]
4545
build-backend = "hatchling.build"
4646

47+
[tool.hatch.version]
48+
path = "src/quartermaster/__init__.py"
49+
4750
[tool.hatch.build.targets.wheel]
4851
packages = ["src/quartermaster"]
4952

‎src/quartermaster/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Quartermaster — a warehouse inventory engine that stays correct under load."""
22

3-
__version__ = "0.0.0"
3+
__version__ = "0.1.0"

‎uv.lock‎

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)