Skip to content

Add support for executing python cells from an externally managed environment #99

@intentionally-left-nil

Description

@intentionally-left-nil

When the user passes in --runtime-python-path and --runtime-env-externally-managed that means that the python environment is wholly maintained outside of runt.

This is the simplest scenario for running a python kernel, since there's no initialization or lifetime issues with the environment.

Instead the python-runtime-agent should:

  • Ensure that the python path is valid
  • Launch the kernel, rooted at the environment, and using a temporary location for conn.json
  • Bind the cell execution calls to the kernel
  • Shutdown the process during onShutdown

Don't worry about discovering kernels, or using kernel.json that jupyter uses. We can cross that bridge later, if necessary

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions