Problem
Currently, the environment auto-discovery doesn't discover pixi environments.
Proposed Solution
When Jupyter Lab searches for environments, it should also search through the a .pixi folder in the root of project.
Additional context
There could be a more elaborate implementation, I'll just leave ideas for that here:
The root of a pixi project is pixi.toml. If the project hasn't been installed, so no .pixi folder is present. An extended solution could go on to:
- Run
pixi install if pixi.toml is present but not .pixi.
- If the project doesn't yet have
python present, ask whether to add it to the project.
- (I got the notion that
jupyterlab also needs to be installed in the environment, even if it has been downloaded globally, e.g. with brew or pixi global install, is that correct? In which case the same would apply to jupyterlab).
Problem
Currently, the environment auto-discovery doesn't discover pixi environments.
Proposed Solution
When Jupyter Lab searches for environments, it should also search through the a
.pixifolder in the root of project.Additional context
There could be a more elaborate implementation, I'll just leave ideas for that here:
The root of a pixi project is
pixi.toml. If the project hasn't been installed, so no.pixifolder is present. An extended solution could go on to:pixi installifpixi.tomlis present but not.pixi.pythonpresent, ask whether to add it to the project.jupyterlabalso needs to be installed in the environment, even if it has been downloaded globally, e.g. withbreworpixi global install, is that correct? In which case the same would apply tojupyterlab).