NASA-IMPACT / pangeo-notebook-veda-image

Docker container based on pangeo-notebook used on VEDA JupyterHub
https://gallery.ecr.aws/nasa-veda/pangeo-notebook-veda-image
MIT License
0 stars 2 forks source link

Create a conda-lock file and packages.txt #13

Open batpad opened 1 month ago

batpad commented 1 month ago

The pangeo notebook base image we use creates a conda-lock file as well as a packages.txt. The packages.txt is especially helpful in being able to diff across package updates to get a concise view of exactly what has been updated between version bumps.

Do we know how much work it would be to generate the same in this repo? And is this something we want to do?

cc @sunu @jsignell @yuvipanda

jsignell commented 1 month ago

That seems like a good idea to me. I would also say that when we update the env to include the extra packages for veda we should ensure that the packages that are already installed don't get updated to a newer version.

yuvipanda commented 1 month ago

I wrote this a while ago! https://github.com/pangeo-data/pangeo-docker-images/blob/master/generate-packages-list.py

If the goal is to view the diff of package updates, I'd suggest packages.txt is what you need rather than conda-lock file (as that also influences what is installed.