Skip to content

Commit 1693125

Browse files
committed
Adds method specification for version override
1 parent 759a7dd commit 1693125

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ classifiers = [
1616
'Operating System :: OS Independent',
1717
'Programming Language :: Python :: 3 :: Only',
1818
'Programming Language :: Python :: 3',
19-
"Programming Language :: Python :: 3.11",
20-
"Programming Language :: Python :: 3.12",
21-
"Programming Language :: Python :: 3.13",
19+
'Programming Language :: Python :: 3.11',
20+
'Programming Language :: Python :: 3.12',
21+
'Programming Language :: Python :: 3.13',
2222
]
2323
requires-python = '>=3.11,<3.14'
2424
dependencies = [
@@ -107,7 +107,8 @@ source = 'versioningit' # Use versioningit to manage the version
107107
# Override the version used specifically during build time (e.g., in CI)
108108
# - Ensures a consistent high version like 999.0.0 when not on a tagged commit
109109
[tool.hatch.build.hooks.versioningit-onbuild]
110-
version = "999.0.0"
110+
method = 'literal'
111+
version = '999.0.0'
111112

112113
################################
113114
# Configuration for versioningit

0 commit comments

Comments
 (0)