python-wheel-build / fromager

Build your own wheels
https://pypi.org/project/fromager/
Apache License 2.0
1 stars 7 forks source link

use `build` instead of `pip wheel`? #126

Open dhellmann opened 2 weeks ago

dhellmann commented 2 weeks ago

Revisit the decision to use pip wheel to build wheels. The build command supports a --no-isolation flag, which should prevent installing anything and give the same protection that flag does when running pip.

What was it that led us to switch from build to pip?

dhellmann commented 2 weeks ago

Switching back to build might also let us change the way we build sdists by default.

tiran commented 1 week ago

+1 build is the recommended tool to create sdists and wheels.

One remark about --no-isolation. build does not install any build dependencies when the flag is passed. All build dependencies from pyproject.toml must be installed manually.