Add dependencies for mast-aladin-lite and jupytext #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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-specificdeployments/roman/environments/roman-cal/roman-cal.pip
. Howeveripyaladin
relies on anywidget to render itself in Jupyter notebooks, and testing has shown that havinganywidget
in theroman-cal
environment is not sufficient to render theipyaladin
widgets. Instead, the environment running Jupyter must also includeanywidget
, so that has been included indeployments/common/common-env/jupyter.pip
. This seems analogous to the need in there for similar packages likejupyterlab-widgets
,widgetsnbextension
,ipywidgets
,ipydatawidgets
andsidecar
.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.Questions
This PR has been marked as Draft pending some of the questions below. Thanks for any answers/thoughts/discussion.