Commit c26f2c4
committed
Release ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/hatch/cli │
│ /__init__.py:205 in main │
│ │
│ 202 │
│ 203 def main(): # no cov │
│ 204 │ try: │
│ ❱ 205 │ │ return hatch(windows_expand_args=False) │
│ 206 │ except Exception: │
│ 207 │ │ from rich.console import Console │
│ 208 │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/click/cor │
│ e.py:1130 in __call__ │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/click/cor │
│ e.py:1055 in main │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/click/cor │
│ e.py:1657 in invoke │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/click/cor │
│ e.py:1404 in invoke │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/click/cor │
│ e.py:760 in invoke │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/click/dec │
│ orators.py:38 in new_func │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/hatch/cli │
│ /version/__init__.py:22 in version │
│ │
│ 19 │ │ if not ( │
│ 20 │ │ │ 'version' in app.project.metadata.dynamic or app.project.metadata.hatch.meta │
│ 21 │ │ ) or dependencies_in_sync(app.project.metadata.build.requires_complex): │
│ ❱ 22 │ │ │ source = app.project.metadata.hatch.version.source │
│ 23 │ │ │ │
│ 24 │ │ │ version_data = source.get_version_data() │
│ 25 │ │ │ original_version = version_data['version'] │
│ │
│ /Users/steve.silvester/.local/pipx/.cache/5c70c91b8dbcafa/lib/python3.10/site-packages/hatchling │
│ /metadata/core.py:1381 in version │
│ │
│ 1378 │ │ if self._version is None: │
│ 1379 │ │ │ if 'version' not in self.config: │
│ 1380 │ │ │ │ message = 'Missing `tool.hatch.version` configuration' │
│ ❱ 1381 │ │ │ │ raise ValueError(message) │
│ 1382 │ │ │ │
│ 1383 │ │ │ options = self.config['version'] │
│ 1384 │ │ │ if not isinstance(options, dict): │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Missing `tool.hatch.version` configuration
Please run `tbump init` to create a tbump.toml file
Or add a [tool.tbump] section in the pyproject.toml file1 parent c149ba0 commit c26f2c4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
0 commit comments