Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that we get the text as text (not json) #1286

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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**
Expand Down
6 changes: 5 additions & 1 deletion src/jupytext/contentsmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/jupytext/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Jupytext's version number"""

__version__ = "1.16.4"
__version__ = "1.16.5"
Loading