This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
Support for installing packages from environment.yml
files
#53
Labels
enhancement
New feature or request
Problem
At the moment it can be confusing that packages must be specified explicitly in a
XeusPythonEnv.packages
list.Folks familiar with Binder might expect dependencies installed in a build environment to also be available in the kernel.
The fact that there could be a mismatch between the frontend extension and the package in the kernel is the issue (for example with widgets).
This is already mentioned in the documentation in the case of the Pyodide kernel: https://jupyterlite.readthedocs.io/en/latest/howto/configure/simple_extensions.html#the-case-of-jupyter-widgets-and-custom-renderers
But also applies for the
jupyterlite-xeus-python
kernel.Proposed Solution
For a site deployer, having a single
environment.yml
would make things more convenient.It's not clear yet how this should be handle and whether the
empack
step in the xeus-python addon should accept aenvironment.yml
as is.The main issue will probably be packages required for the build (for example
jupyterlab
orjupyter-server
to index content) don't need to be installed in the kernel.Additional context
cc @nthiery since we discussed this use case over a video call
The text was updated successfully, but these errors were encountered: