diff --git a/CHANGELOG.md b/CHANGELOG.md index 935091a1..809c2eca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ Jupytext ChangeLog ================== -1.16.5-dev ----------- +1.16.5 (2024-12-08) +------------------- **Fixed** +- We have fixed the notebook corruption issue when using Jupytext with Jupyter-Collaboration ([#1124](https://github.com/mwouts/jupytext/issues/1124), [jupyter-collaboration #214](https://github.com/jupyterlab/jupyter-collaboration/issues/214)) - The `rst2md` tests have been fixed by requiring `sphinx<8` ([#1266](https://github.com/mwouts/jupytext/issues/1266)) **Added** diff --git a/src/jupytext/contentsmanager.py b/src/jupytext/contentsmanager.py index 80ee810b..dd6a9564 100644 --- a/src/jupytext/contentsmanager.py +++ b/src/jupytext/contentsmanager.py @@ -299,7 +299,11 @@ def read_one_file(alt_path, alt_fmt): self.log.info(f"Reading SOURCE from {alt_path}") text = self.super.get( - alt_path, content=True, type="file", format=format + alt_path, + content=True, + type="file", + # Don't use the parent format, see https://github.com/mwouts/jupytext/issues/1124 + format=None, )["content"] return reads(text, fmt=alt_fmt, config=config) diff --git a/src/jupytext/version.py b/src/jupytext/version.py index 1887a67d..ef2a7f5f 100644 --- a/src/jupytext/version.py +++ b/src/jupytext/version.py @@ -1,3 +1,3 @@ """Jupytext's version number""" -__version__ = "1.16.4" +__version__ = "1.16.5"