NASA-Openscapes / corn

Base image for the NASA-Openscapes Jupyterhub
MIT License
4 stars 5 forks source link

Add jupytext to jupyter labextensions #26

Closed itcarroll closed 6 months ago

itcarroll commented 7 months ago

Fixes #25

Doing some guesswork here as the documentation is a little thin and perhaps this repository has diverged significantly from (or predates) the 2i2c template.

I guess that one adds a new package to the notebook environment by adding it to ci/environment.yml and updating the adjacent lock file.

What I did ...

$ cd ci
$ mamba env create -f environment-lock.yml
$ conda activate env-lock
(env-lock) $ conda-lock --mamba --kind explicit

I cannot see a way to do a minimal update to the lock file. While I would like to leave as many packages at their current versions as possible, adding a new package appears to require a solve without regard to the existing lock file. Guidance on this welcome.

betolink commented 6 months ago

@itcarroll this is on draft state, are we ready to merge? I'm working on a more up to date image on a different branch, maybe I can merge that one first and then update this PR to include jupytext.

itcarroll commented 6 months ago

Was in draft due to need for a little handholding. Thanks for the approval.