Skip to content

Commit c45e760

Browse files
committed
client: Set up dynamic package versioning
Signed-off-by: Phoevos Kalemkeris <[email protected]>
1 parent e6f638b commit c45e760

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

client/pyproject.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ classifiers = [
1212
"Programming Language :: Python :: 3.12",
1313
"Intended Audience :: Developers",
1414
]
15+
dynamic = [ "version" ]
16+
1517

1618
[project.urls]
1719
homepage = "https://github.com/CogStack/cogstack-model-gateway"
@@ -20,11 +22,17 @@ documentation = "https://github.com/CogStack/cogstack-model-gateway/tree/main/cl
2022
"Bug Tracker" = "https://github.com/CogStack/cogstack-model-gateway/issues"
2123

2224
[tool.poetry]
23-
version = "0.1.0"
25+
version = "0.0.0"
2426

2527
[tool.poetry.dependencies]
2628
httpx = "^0.28.1"
2729

30+
[tool.poetry.requires-plugins]
31+
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
32+
33+
[tool.poetry-dynamic-versioning]
34+
enable = true
35+
2836
[build-system]
29-
requires = ["poetry-core>=2.0.0,<3.0.0"]
30-
build-backend = "poetry.core.masonry.api"
37+
requires = ["poetry-core>=2.0.0,<3.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
38+
build-backend = "poetry_dynamic_versioning.backend"

poetry.lock

Lines changed: 1 addition & 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)