scikit-build-core icon indicating copy to clipboard operation
scikit-build-core copied to clipboard

`AssertionError:` "Editable installs cannot rebuild an absolute wheel.install-dir. Use an override to change if needed."

Open Jacobfaib opened this issue 5 months ago • 3 comments

Given

[tool.scikit-build]
wheel.install-dir = "/data"

It is not possible to do editable installs:

$ pip install -e .

because scikit_build.build.wheel.py::_make_editable() throws.

Commenting out this check did not seem to break anything immediately with the wheel, so perhaps this check can be moved to runtime install of install-time.

Jacobfaib avatar Sep 24 '24 19:09 Jacobfaib