Make it possible to skip passing --interpreter
option when building editable wheels via pep517 backend
#1896
Labels
enhancement
New feature or request
PEP 517 build backend uses build isolation by default and in some cases for example when using Poetry to manage a pyo3 module as a path dependency, build isolation can't be disabled.
Thus the
--interpreter/-i
option we pass tomaturin pep517 build-wheel
varies among executions because it points to a random python interpreter in/tmp
. This causes unnecessary rebuild ofpyo3
crate due toPYO3_PYTHON
env var value changes.I think at least for editable wheels we could try not passing a random
--interpreter
path, making it possible to better utilize cache. It should be an opt-in option of course.The text was updated successfully, but these errors were encountered: