pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Read the `build-system.requires` during pixi init in some way

Open olivier-lacroix opened this issue 1 year ago • 3 comments

During pixi init from a pyproject.toml, it would be nice if pixi read the build-system.requires in some way, and maybe created a 'build' environment that would be used to build python packages

Originally posted by @pavelzw in https://github.com/prefix-dev/pixi/issues/1084#issuecomment-2027067605

olivier-lacroix avatar Apr 02 '24 22:04 olivier-lacroix

Sure, but then we also need to support no build isolation, so that uv actually uses that environment, and not solves its own and hence would never use the conda resolved one: https://github.com/prefix-dev/pixi/issues/1124

tdejager avatar Apr 05 '24 14:04 tdejager

@tdejager Would the now be able to be introduced as well? Since we now have no-build-isolation.

ruben-arts avatar Sep 23 '24 09:09 ruben-arts

Yes, but we would need to either install them as pypi dependencies giving you a chicken and egg problem, as it might be part of the default prefix.

or we need to interpret them as PyPI dependencies which part of a bigger feature I suppose.

tdejager avatar Sep 23 '24 10:09 tdejager