Skip to content

Add support for PEP 794 #278

@jenshnielsen

Description

@jenshnielsen

PEP 794 (Accepted 05-Sep-2025) adds fields project.import-names and project.import-namespaces, Currently validate-pyproject rejects these fields with

Invalid file: pyproject.toml
[ERROR] `project` must not contain {'import-names', 'import-namespaces'} properties

I noticed this since setuptools uses this project for validation and currently rejects these fields at build time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions