Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-discover pixi environments #834

Open
roaldarbol opened this issue May 30, 2024 · 2 comments
Open

Auto-discover pixi environments #834

roaldarbol opened this issue May 30, 2024 · 2 comments

Comments

@roaldarbol
Copy link

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).
@roaldarbol
Copy link
Author

I'm realising that this might be a Jupyter Lab Desktop issue. Feel free to transfer it!

@JasonWeill JasonWeill transferred this issue from jupyterlab/jupyterlab Jun 4, 2024
Copy link

welcome bot commented Jun 4, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants