You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make pixi use build-backend dependencies from conda packages instead of uv build isolated variants #1088
In corporate environments, you might not have access to pypi but only a conda server.
It would be cool if pixi was able to lock the used build backends in the lockfile and use it from conda and not pypi when specifying source dependencies in pypi-dependencies.
In general, I think it would be beneficial to lock the used build-backends for reproducibility.
Locking the build-backends is something that is being discussed in the pypi world as well. So that should be useful for sure, currently UV does another resolve to determine the build environment something we did in RIP as well, I don't know if we can influence this.
In our workflows we not only use --no-build-isolation but also --no-deps since we want to basically do everything with conda and use piponly for actually moving the project into the python env. Maybe(?) it could make sense to also have the option available in pixi and if pixi recognizes that we use no-build-isolation and no-deps, it doesn't try to solve pypi-dependencies at all? But i'm personally not 100% sold on the idea yet...
I think, what you actually want might be a build and install in the current environment functionality, which would replace your use-case for editables as dependencies?
Activity
tdejager commentedon Mar 29, 2024
Locking the build-backends is something that is being discussed in the pypi world as well. So that should be useful for sure, currently UV does another resolve to determine the build environment something we did in RIP as well, I don't know if we can influence this.
pavelzw commentedon Mar 29, 2024
If we can't influence this, could we maybe get a
no-build-isolationflag?I would love to get the editable installs feature in places where pypi is not available.
tdejager commentedon Mar 29, 2024
NoBuildIsolationis possible for sure, we should give that a go!pavelzw commentedon Apr 3, 2024
In our workflows we not only use
--no-build-isolationbut also--no-depssince we want to basically do everything with conda and usepiponly for actually moving the project into the python env. Maybe(?) it could make sense to also have the option available in pixi and if pixi recognizes that we useno-build-isolationandno-deps, it doesn't try to solve pypi-dependencies at all? But i'm personally not 100% sold on the idea yet...tdejager commentedon Apr 3, 2024
Hmm I understand, let me think about it more, I'll come back to this.
tdejager commentedon Apr 5, 2024
I think, what you actually want might be a build and install in the current environment functionality, which would replace your use-case for editables as dependencies?
pavelzw commentedon Apr 5, 2024
This would be fine for me as well if it's well thought out. The main thing I want is to replace
pixi run postinstall😅tdejager commentedon Sep 23, 2024
Can we close this for now with the abiliy to specify
no-build-isolation?pavelzw commentedon Dec 18, 2025
With pixi-Build I don't really care about this issue anymore. Should I close it?
tdejager commentedon Dec 18, 2025
Please go ahead!