Skip to content

PEP 517 interface (build_meta) should not specify setuptools in build dependencies #1498

@uranusjr

Description

@uranusjr

From pypa/pyproject-hooks#15.

Quoting @takluyver’s comment:

I think that what you hit is a bug in the setuptools build backend: I don't think it should be returning the values from build-system.requires at all. The spec says that the get_requires_for_build_* hooks should return:

an additional list of strings containing PEP 508 dependency specifications, above and beyond those specified in the pyproject.toml file

To me, that means that the backend shouldn't include the build-system.requires values, because the frontend should have already found those before calling the hook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DiscussionIssues where the implementation still needs to be discussed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions