Skip to content

Commit

Permalink
pip prod(deps): bump marimo from 0.9.34 to 0.10.0 (#3634)
Browse files Browse the repository at this point in the history
Bumps [marimo](https://github.com/marimo-team/marimo) from 0.9.34 to
0.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/marimo-team/marimo/releases">marimo's
releases</a>.</em></p>
<blockquote>
<h2>0.10.0</h2>
<h2>⭐ Highlights</h2>
<h3>🚀 Major Features</h3>
<ul>
<li>New <code>marimo export html-wasm</code> command that give you an
html file and assets in order to run WebAssembly notebooks without the
<a href="https://marimo.app/">playground</a>. You can even host these on
GitHub Pages!</li>
<li>Added support for Azure OpenAI with AI Assistant</li>
<li>Auto-export to <code>.ipynb</code> while working on your
notebook</li>
</ul>
<h3>🎨 UI/UX Improvements</h3>
<ul>
<li>Enhanced markdown support with task lists, tabs, critic markup,
emoji, and magic links</li>
<li>Network URL now shown when running with
<code>host=0.0.0.0</code></li>
</ul>
<h3>⚡ Performance &amp; Fixes</h3>
<ul>
<li>Fixed case sensitivity issues dataframe searches</li>
<li>Fixed datetime in Altair charts</li>
<li>Respect Python version from inline-scripts (PEP 723) when running
with <code>--sandbox</code></li>
</ul>
<p><strong>🛑 Breaking change:</strong> Nameless cells in the marimo
Python file are now generated as <code>_</code> (instead of
<code>__</code>) to fix mypy linting errors</p>
<h2>What's Changed</h2>
<ul>
<li>perf: check if package has been imported instead of installed by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3109">marimo-team/marimo#3109</a></li>
<li>Update feedback dialog by <a
href="https://github.com/akshayka"><code>@​akshayka</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3118">marimo-team/marimo#3118</a></li>
<li>docs: add missing period in README dataframes section by <a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3121">marimo-team/marimo#3121</a></li>
<li>fix: use --marimo-monospace-font for terminal font configuration by
<a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3123">marimo-team/marimo#3123</a></li>
<li>feat: respect Python version from inline-scripts (PEP 723) when
running with --sandbox by <a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3122">marimo-team/marimo#3122</a></li>
<li>Add validation for file type extensions in mo.ui.file by <a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3124">marimo-team/marimo#3124</a></li>
<li>feat: show network url when running host=0.0.0.0 by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3128">marimo-team/marimo#3128</a></li>
<li>fix: case sensitivity of uppercase searches by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3131">marimo-team/marimo#3131</a></li>
<li>docs: add docs for exporting to PDF, slides, or rst by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3133">marimo-team/marimo#3133</a></li>
<li>improvement: allow running any cell when auto-run-on-startup is off
by <a href="https://github.com/mscolnick"><code>@​mscolnick</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3119">marimo-team/marimo#3119</a></li>
<li>test: add tests for encapsulated React hooks by <a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3137">marimo-team/marimo#3137</a></li>
<li>feat: <code>marimo export html-wasm</code> with included assets by
<a href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in
<a
href="https://redirect.github.com/marimo-team/marimo/pull/3134">marimo-team/marimo#3134</a></li>
<li>fix: altair chart for datetimes with no timezone expected by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3135">marimo-team/marimo#3135</a></li>
<li>fix: altair chart dark mode toggle by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3136">marimo-team/marimo#3136</a></li>
<li>feat: support for Azure OpenAI with AI Assistant by <a
href="https://github.com/matulef"><code>@​matulef</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3120">marimo-team/marimo#3120</a></li>
<li>improvement: single '_' function names to work with linting by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3143">marimo-team/marimo#3143</a></li>
<li>feat: add auto-export as ipynb feature by <a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3138">marimo-team/marimo#3138</a></li>
<li>fix: make name change backwards compat in the ui by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3147">marimo-team/marimo#3147</a></li>
<li>test: maybe fix windows cli tests by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3146">marimo-team/marimo#3146</a></li>
<li>fix: preserve table selection on accordion toggle by <a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3148">marimo-team/marimo#3148</a></li>
<li>feat: add task list support to markdown by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3151">marimo-team/marimo#3151</a></li>
<li>tests: revert cli debug by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3153">marimo-team/marimo#3153</a></li>
<li>feat: markdown caption support, tabs, critic, emoji, magic links by
<a href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in
<a
href="https://redirect.github.com/marimo-team/marimo/pull/3152">marimo-team/marimo#3152</a></li>
<li>improvement: errors should stay internal in marimo run and logged to
console by <a
href="https://github.com/mscolnick"><code>@​mscolnick</code></a> in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3150">marimo-team/marimo#3150</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/devin-ai-integration"><code>@​devin-ai-integration</code></a>
made their first contribution in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3121">marimo-team/marimo#3121</a></li>
<li><a href="https://github.com/matulef"><code>@​matulef</code></a> made
their first contribution in <a
href="https://redirect.github.com/marimo-team/marimo/pull/3120">marimo-team/marimo#3120</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/marimo-team/marimo/compare/0.9.34...0.10.0">https://github.com/marimo-team/marimo/compare/0.9.34...0.10.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/marimo-team/marimo/commit/d321e0af475839ed3845484ec19652c6e8d8f710"><code>d321e0a</code></a>
release: 0.10.0</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/6af7f9148a6172828cfdd04a5afe05a0bad22bb8"><code>6af7f91</code></a>
improvement: errors should stay internal in marimo run and logged to
console ...</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/de0b3f3a2a82168c9af252770ac52b0615ce5f38"><code>de0b3f3</code></a>
feat: markdown caption support, tabs, critic, emoji, magic links (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3152">#3152</a>)</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/298b386d04fd1c91b69f8788828ef5c36d62e12d"><code>298b386</code></a>
tests: revert cli debug (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3153">#3153</a>)</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/8defa6d5a4f6e689749af1bf2e3bf353b9ed8a8e"><code>8defa6d</code></a>
feat: add task list support to markdown (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3151">#3151</a>)</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/a75baf6b872cd3964b26a1db30e43cf91633e64c"><code>a75baf6</code></a>
fix: preserve table selection on accordion toggle (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3148">#3148</a>)</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/f7ab973c31c5ffa05e09efc21f2c9ad7a4c1eeb2"><code>f7ab973</code></a>
test: maybe fix windows cli tests (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3146">#3146</a>)</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/2367332c3f948b1e7407b96a5526541c7b7958ba"><code>2367332</code></a>
fix: make name change backwards compat in the ui (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3147">#3147</a>)</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/0e99bed4edf3febc78c136b61d79505e15bc39f6"><code>0e99bed</code></a>
cli debug</li>
<li><a
href="https://github.com/marimo-team/marimo/commit/f845fc82420e182426cc782a5944761af2674d9d"><code>f845fc8</code></a>
feat: add auto-export as ipynb feature (<a
href="https://redirect.github.com/marimo-team/marimo/issues/3138">#3138</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/marimo-team/marimo/compare/0.9.34...0.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=marimo&package-manager=pip&previous-version=0.9.34&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sasha Lopoukhine <[email protected]>
  • Loading branch information
dependabot[bot] and superlopuh authored Jan 2, 2025
1 parent f965202 commit f06d74e
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 68 deletions.
60 changes: 30 additions & 30 deletions docs/marimo/linalg_snitch.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import marimo

__generated_with = "0.8.20"
__generated_with = "0.10.0"
app = marimo.App(width="medium")


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


@app.cell
def __(mo):
def _(mo):
mo.md(
"""
\
Expand All @@ -26,7 +26,7 @@ def __(mo):


@app.cell
def __():
def _():
# Import all the necessary functionality from xDSL for this notebook
# If you see an error about xdsl not being defined run this cell manually

Expand Down Expand Up @@ -118,7 +118,7 @@ def __():


@app.cell
def __(
def _(
AffineMap,
AffineMapAttr,
Block,
Expand Down Expand Up @@ -201,7 +201,7 @@ def __(


@app.cell
def __(mo):
def _(mo):
min_val = 1
max_val = 10
m = mo.ui.slider(min_val, max_val, value=2, label="M")
Expand All @@ -211,7 +211,7 @@ def __(mo):


@app.cell
def __(k, m, mo, n):
def _(k, m, mo, n):
mo.md(
f"""
We can parametrize the shapes of the matrices operated on:
Expand All @@ -227,7 +227,7 @@ def __(k, m, mo, n):


@app.cell
def __(k, m, mo, n):
def _(k, m, mo, n):
a_shape = (m.value, k.value)
b_shape = (k.value, n.value)
c_shape = (m.value, n.value)
Expand All @@ -244,13 +244,13 @@ def __(k, m, mo, n):


@app.cell
def __(mo):
def _(mo):
mo.md("""### Compiling to RISC-V""")
return


@app.cell
def __(MLContext, get_all_dialects):
def _(MLContext, get_all_dialects):
ctx = MLContext()

for dialect_name, dialect_factory in get_all_dialects().items():
Expand All @@ -259,13 +259,13 @@ def __(MLContext, get_all_dialects):


@app.cell
def __(mo):
def _(mo):
mo.md("""We can take this representation, and lower to RISC-V-specific dialects:""")
return


@app.cell
def __(
def _(
PipelinePass,
convert_arith_to_riscv,
convert_func_to_riscv_func,
Expand Down Expand Up @@ -296,7 +296,7 @@ def __(


@app.cell
def __(mo):
def _(mo):
mo.md(
"""
#### Register allocation
Expand All @@ -308,7 +308,7 @@ def __(mo):


@app.cell
def __(
def _(
CanonicalizePass,
PipelinePass,
RISCVRegisterAllocation,
Expand All @@ -331,7 +331,7 @@ def __(


@app.cell
def __(
def _(
CanonicalizePass,
ConvertRiscvScfToRiscvCfPass,
PipelinePass,
Expand All @@ -354,13 +354,13 @@ def __(


@app.cell
def __(mo):
def _(mo):
mo.md("""This representation of the program in xDSL corresponds ~1:1 to RISC-V assembly, and we can use a helper function to print that out.""")
return


@app.cell
def __(asm_html, mo, riscv_asm_module, riscv_code):
def _(asm_html, mo, riscv_asm_module, riscv_code):
riscv_asm = riscv_code(riscv_asm_module)

mo.md(f"""\
Expand All @@ -373,7 +373,7 @@ def __(asm_html, mo, riscv_asm_module, riscv_code):


@app.cell
def __(mo):
def _(mo):
mo.md(
"""
### Compiling to Snitch
Expand All @@ -385,7 +385,7 @@ def __(mo):


@app.cell
def __(
def _(
PipelinePass,
arith_add_fastmath,
convert_linalg_to_memref_stream,
Expand Down Expand Up @@ -420,13 +420,13 @@ def __(


@app.cell
def __(mo):
def _(mo):
mo.md("""We can then lower this to assembly that includes assembly instructions from the Snitch-extended ISA:""")
return


@app.cell
def __(pipeline_accordion, snitch_stream_module):
def _(pipeline_accordion, snitch_stream_module):
from xdsl.transforms.test_lower_linalg_to_snitch import LOWER_SNITCH_STREAM_TO_ASM_PASSES

snitch_asm_module, snitch_asm_accordion = pipeline_accordion(
Expand All @@ -442,7 +442,7 @@ def __(pipeline_accordion, snitch_stream_module):


@app.cell
def __(k, m, mo, n):
def _(k, m, mo, n):
mo.md(
f"""
We can see how changing our input sizes affects the assembly produced:
Expand All @@ -458,7 +458,7 @@ def __(k, m, mo, n):


@app.cell
def __(asm_html, mo, riscv_code, snitch_asm_module):
def _(asm_html, mo, riscv_code, snitch_asm_module):
snitch_asm = riscv_code(snitch_asm_module)

mo.md(f"""\
Expand All @@ -471,7 +471,7 @@ def __(asm_html, mo, riscv_code, snitch_asm_module):


@app.cell
def __(mo):
def _(mo):
mo.md(
"""
### Interpreting the assembly using xDSL
Expand All @@ -483,7 +483,7 @@ def __(mo):


@app.cell
def __(TypedPtr, a_shape, b_shape, c_shape, ctx, mo, riscv_module):
def _(TypedPtr, a_shape, b_shape, c_shape, ctx, mo, riscv_module):
from math import prod

from xdsl.interpreter import Interpreter, OpCounter
Expand Down Expand Up @@ -532,7 +532,7 @@ def __(TypedPtr, a_shape, b_shape, c_shape, ctx, mo, riscv_module):


@app.cell
def __(
def _(
Interpreter,
OpCounter,
ShapedArray,
Expand Down Expand Up @@ -579,7 +579,7 @@ def __(


@app.cell
def __(k, m, mo, n, riscv_op_counter, snitch_op_counter):
def _(k, m, mo, n, riscv_op_counter, snitch_op_counter):
rv_dict = dict(riscv_op_counter.ops)
sn_dict = dict(snitch_op_counter.ops)

Expand Down Expand Up @@ -666,7 +666,7 @@ def format_row(key: str, *values: str):


@app.cell
def __(ModuleOp, mo):
def _(ModuleOp, mo):
import html as htmllib

def module_html(module: ModuleOp) -> str:
Expand All @@ -684,13 +684,13 @@ def asm_html(asm: str) -> str:


@app.cell
def __():
def _():
from collections import Counter
return (Counter,)


@app.cell
def __(Counter, ModuleOp, ModulePass, PipelinePass, ctx, mo, module_html):
def _(Counter, ModuleOp, ModulePass, PipelinePass, ctx, mo, module_html):
def spec_str(p: ModulePass) -> str:
if isinstance(p, PipelinePass):
return ",".join(str(c.pipeline_pass_spec()) for c in p.passes)
Expand Down
Loading

0 comments on commit f06d74e

Please sign in to comment.