jupyter / enhancement-proposals

Enhancement proposals for the Jupyter Ecosystem
https://jupyter.org/enhancement-proposals
BSD 3-Clause "New" or "Revised" License
115 stars 65 forks source link

Discussion: Rethinking notebook cell types #95

Open fcollonval opened 1 year ago

fcollonval commented 1 year ago

This topic is one of the output from the Jupyter Community Workshop on the notebook file format.

This is an issue to synchronize and invite any interested body to take part to the discussion of the major new file format structure.

A weekly call has been set up for Tuesday 8:00 AM Pacific Time - Zoom meeting. The meeting notes are available: https://hackmd.io/hHW8k7mKS5qFBhxnFtVTCw

The notes from the workshop are available at https://docs.google.com/document/d/1DMMUOYEhFxoAEKITOrCUK9x0vkTy68mfZ9clof3UrMc

willingc commented 1 year ago

Thanks for posting @fcollonval. FYI @MSeal @rgbkrk.

agoose77 commented 1 year ago

I won't be able to make this week's meeting! I hope it proves fruitful :)

krassowski commented 1 year ago

I just wanted to highlight that any changes here would ideally consider what should happen to trust. Currently nbformat only allows for transient trusted metadata to be declared on code cells which means that:

Two previously proposed ideas on improving trust/signature mechanism are:

echarles commented 1 year ago

markdown cells are never trusted and always sanitised (which is part of current Notebook security model)

jupyterlab-myst has now the ability to evaluate python/kernel code inserted into markdown cells, and overrides the default notary handler to deal with that. The evolution should imho add trust notion to any cell (code, markdown or any type that would come)