Skip to content

PEP 517 breaks relative dependency in rustapi_module #362

@pganssle

Description

@pganssle

So this is a bit of a problem. With pip >= 19.0 you are automatically opted-in to using PEP 517 if you have a pyproject.toml, and there's no way to get the old behavior of "just install the build dependencies but don't use PEP 517 for the build".

This is a bit of a problem because rustapi_module has an out-of-source dependency on the pyo3 source root, for obvious reasons, but with PEP 517 the build occurs in a temporary build directory.

I don't know enough about how dependencies are specified in Rust to know the right solution here. For now we can disable PEP 517 by removing pyproject.toml.

Reported upstream at pypa/pip#6276 for tracking purposes, though I think we'll probably have to find our own workarounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions