Skip to content
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
12 changes: 5 additions & 7 deletions .github/workflows/step_pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.1
with:
pixi-version: v0.55.0
pixi-version: v0.59.0
cache: true

- uses: pre-commit/action@v3.0.0
- name: Pre-commit checks
run: |
eval "$(pixi shell-hook)"
pre-commit run --show-diff-on-failure --all-files

lint-extension:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ demo/get_started.ipynb
.ipynb_checkpoints
.jupyter_ystore.db*

# Marimo
__marimo__

# Test related files
.coverage
.pytest_cache
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Jupytext ChangeLog
==================

1.19.1.dev0 (development)
1.19.1 (2026-01-25)
-------------------------

**Changed**
- Jupytext does not change the file icons anymore! Thanks to [Michał Krassowski](https://github.com/krassowski) for finally solving this long standing issue! ([#398](https://github.com/mwouts/jupytext/issues/398))
- We have bumped lodash from 4.17.21 to 4.17.23 in JupyterLab extension ([#1483](https://github.com/mwouts/jupytext/pull/1483))
- We require `marimo<=0.19.4` in tests following a change in the location of the `marimo` import ([#1485](https://github.com/mwouts/jupytext/issues/1485))
- We have updated the marimo examples using `marimo==0.19.6` following a change in the location of the `marimo` import ([#1485](https://github.com/mwouts/jupytext/issues/1485))


1.19.0 (2026-01-18)
Expand Down
71 changes: 35 additions & 36 deletions pixi.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test-external = [
"gitpython",
"pre-commit",
# Marimo notebooks
"marimo>=0.17.6,<=0.19.4", #1485
"marimo>=0.19.6;python_version>=\"3.10\"", #1485
# Interaction with other contents managers
"jupyter-fs[fs]>=1.0" # 1398
]
Expand Down
4 changes: 2 additions & 2 deletions src/jupytext/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ def assert_conversion_same_as_mirror(nb_file, fmt, mirror_name, compare_notebook
if fmt.get("format_name") == "marimo":
lines = expected.splitlines()
lines = [
# mirror files were generated with marimo 0.17.8
f'__generated_with = "{marimo_version()}"' if line == '__generated_with = "0.17.8"' else line
# mirror files were generated with marimo 0.19.6
f'__generated_with = "{marimo_version()}"' if line == '__generated_with = "0.19.6"' else line
for line in lines
]
expected = "\n".join(lines) + "\n"
Expand Down
2 changes: 1 addition & 1 deletion src/jupytext/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Jupytext's version number"""

# Must match [N!]N(.N)*[{a|b|rc}N][.postN][.devN], cf. PEP 440
__version__ = "1.19.1.dev0"
__version__ = "1.19.1"
14 changes: 7 additions & 7 deletions tests/data/notebooks/inputs/marimo/basic_marimo_example.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand All @@ -25,11 +31,5 @@ def _(x):
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand Down Expand Up @@ -52,11 +58,5 @@ def _(mo):
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell
def _():
1 + 1
Expand Down Expand Up @@ -44,11 +50,5 @@ def _():
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand Down Expand Up @@ -39,11 +45,5 @@ def _(mo):
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


Expand Down
14 changes: 7 additions & 7 deletions tests/data/notebooks/outputs/ipynb_to_marimo/jupyter.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand Down Expand Up @@ -50,11 +56,5 @@ def _(mo):
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


Expand Down
14 changes: 7 additions & 7 deletions tests/data/notebooks/outputs/ipynb_to_marimo/plotly_graphs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand Down Expand Up @@ -47,11 +53,5 @@ def _():
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand All @@ -26,11 +32,5 @@ def _(mo):
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import marimo

__generated_with = "0.17.8"
__generated_with = "0.19.6"
app = marimo.App()


@app.cell
def _():
import marimo as mo
return (mo,)


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""
Expand Down Expand Up @@ -116,11 +122,5 @@ def _(undefined_variable):
return


@app.cell
def _():
import marimo as mo
return (mo,)


if __name__ == "__main__":
app.run()
Loading