-
Notifications
You must be signed in to change notification settings - Fork 860
Open
Description
Description
Currently --sandbox works great for single notebooks.
However, when you start the edit server, two problems occur:
- we have one isolated environment for all the notebooks
- the script metadata per PEP 723 is ignored on notebook launch, instead required packages are auto-discovered.
It would be lovely to make sandbox compatibel with this mode, since we can then really utilize the power of UV with it's global cache and users can switch projects easily without worrying about dependencies and environments. Really beginner friendly that way and no terminal needed to create / activate manually managed environments.
Suggested solution
Create some sort of logic that activates and deactivates a uv isolated environment on notebook launch and shutdown from the edit server.
Alternative
No response
Additional context
No response
mscolnick, Poppi2, dmadisetti, simonmaris, SandroCasagrande and 6 more
Metadata
Metadata
Assignees
Labels
No labels