tweag / jupyenv

Declarative and reproducible Jupyter environments - powered by Nix
https://jupyenv.io/
MIT License
651 stars 135 forks source link

[Feature]: Pass down runtime dependencies to any kernel #365

Closed alejandrosame closed 1 year ago

alejandrosame commented 1 year ago

What's missing?

In the current implementation, I'm not able to declare the external runtime dependencies of a custom Python kernel. If this is currently possible, it's not clear how to do it.

Possible solution

https://github.com/tweag/jupyterWith/pull/364 provides a workaround. However, as far as I could understand from the code, those runtime dependencies will not be only accessible from the custom kernel.

Alternatives

No response

Additional context

No response

alejandrosame commented 1 year ago

https://github.com/tweag/jupyterWith/pull/364 now provides the option to pass extraRuntimePackages to a Python kernel.

alejandrosame commented 1 year ago

https://github.com/tweag/jupyterWith/pull/373 Fixes this for my use case (Python kernel)