Skip to content

Conversation

@tomdonaldson
Copy link

@tomdonaldson tomdonaldson commented Mar 4, 2025

Adding mast-aladin-lite

The primary purpose of this PR is to add mast-aladin-lite to the roman-cal environment. mast-aladin-lite is our wrapper around ipyaladin which we will use in the platform for on-the-sky visualization and exploration.

The main mast-aladin-lite pip dependency will be added to the Roman-specific deployments/roman/environments/roman-cal/roman-cal.pip. However ipyaladin relies on anywidget to render itself in Jupyter notebooks, and testing has shown that having anywidget in the roman-cal environment is not sufficient to render the ipyaladin widgets. Instead, the environment running Jupyter must also include anywidget, so that has been included in deployments/common/common-env/jupyter.pip. This seems analogous to the need in there for similar packages like jupyterlab-widgets, widgetsnbextension, ipywidgets, ipydatawidgets and sidecar.

Adding jupytext

Secondarily, I also would like to add jupytext to the base Jupyter environment. This allows Jupyter Lab to recognize MyST-NB format .md (Markdown) files as notebooks.

NumPy, SciPy and NAVO have started using these .md notebooks in their tutorials, so it would be nice if our environment recognized them out of the box on all the ST platforms. The Fornax platform also includes jupytext in its base Jupyter environment.

The jupytext addition could be a separate PR if needed, but since the base Jupyter environment was already being updated, maybe putting it here could lower the testing and review overheads.

@tomdonaldson
Copy link
Author

This was rebased against upstream/main and retested locally with the new dependencies behaving as expected. This PR does include modified HASH and requirements files.

I'll leave this in a draft state for now as we'd like to use this to exercise our new image build/deploy capabilities to test these pre-merge changes with an image in the dev platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant