Skip to content

Commit 06b9573

Browse files
Move dependencies key out of [project.urls] into [project]
PyYAML>=6 was declared under [project.urls], where PEP 621 requires string values. Hatchling 1.32 rejects it, so metadata generation fails for pip install ., pip install -e ".[dev]", and python -m build. Moving it to [project] fixes the build and registers PyYAML as the runtime dependency it is (llmism/_patterns.py imports yaml at import). Fixes #1 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent b0d4a31 commit 06b9573

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ license-files = ["LICENSE"]
1212
authors = [{ name = "Martin Monperrus", email = "martin.monperrus@gnieh.org" }]
1313
requires-python = ">=3.10"
1414
keywords = ["llm", "writing", "style", "detector", "prose"]
15+
dependencies = ["PyYAML>=6"]
1516

1617
[project.urls]
1718
Homepage = "https://github.com/ASSERT-KTH/llmism"
1819
Issues = "https://github.com/ASSERT-KTH/llmism/issues"
19-
dependencies = ["PyYAML>=6"]
2020

2121
[project.optional-dependencies]
2222
dev = ["pytest", "pytest-cov", "mypy", "ruff", "types-PyYAML"]

0 commit comments

Comments
 (0)