This test project contains a pyproject.toml that is missing the required [project] section.
The file completely lacks the [project] section, which is required by PEP 621:
# Missing [project] section entirely!
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"A valid pyproject.toml must have a [project] section with at least name and version fields.
The dependency tree builder should:
- Detect missing required sections
- Provide clear error message indicating what's missing
- List the required fields that should be present
- Example error:
Error: Required section [project] not found in pyproject.toml Details: PEP 621 requires a [project] section with: - name: Project name - version: Project version Suggestion: Add [project] section with required fields
This is part of the Phase 3 Malformed TOML Files test suite.