-
Notifications
You must be signed in to change notification settings - Fork 879
Closed
Labels
Description
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.