Open
Description
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
ifpixi.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. withbrew
orpixi global install
, is that correct? In which case the same would apply tojupyterlab
).