Skip to content

Auto-discover pixi environments #834

Description

@roaldarbol

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).

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions