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

Add basic LLM agent support #2

Merged
merged 265 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
8d08c92
improvement: Add labs section in user settings, fix column width (#2805)
mscolnick Nov 6, 2024
602fa67
docs: add quotation marks for marimo[sql] commands (#2807)
Light2Dark Nov 6, 2024
68d83de
Include `Custom-AI-rules`; docs touchups (#2795)
Haleshot Nov 6, 2024
16e19b5
chore(deps): update google-github-actions/auth action to v2 (#2809)
renovate[bot] Nov 6, 2024
6e185d0
fix: allow table selection in full screen (#2806)
mscolnick Nov 6, 2024
398de81
fix: drop index for data-explorer (#2808)
mscolnick Nov 6, 2024
4f59c97
fix: fix regression of rendering pandas tables with custom index (#2813)
mscolnick Nov 7, 2024
22d8f18
fix: handle empty or null dates in table (#2814)
mscolnick Nov 7, 2024
7c1bede
release: 0.9.16
mscolnick Nov 7, 2024
ebc000b
docs: add integer-only example for number input (#2816)
metaboulie Nov 8, 2024
7dfbc56
chore: rename tailwind.config.js to .cjs (#2818)
metaboulie Nov 8, 2024
9668948
fix: owner check in marmo-bot gh action (#2820)
mscolnick Nov 8, 2024
86d3173
example: attach to persistent duckdb db (#2824)
akshayka Nov 8, 2024
a7144c0
fix: check isatty for sandboxing (#2826)
mscolnick Nov 8, 2024
4b3f1e3
fix: handle some sql edge cases for catalogs (#2825)
mscolnick Nov 9, 2024
4a482a3
fix: SQL cases for referencing catalog and schema in CREATE table sta…
mscolnick Nov 9, 2024
7bebb78
fix: vim j/k keys (#2828)
mscolnick Nov 9, 2024
9b872a2
0.9.17
mscolnick Nov 9, 2024
10ab926
feat(image): add caption support to mo.image (#2817)
metaboulie Nov 9, 2024
0af94f8
feat: add keyboard shortcut to buttons (#2819)
Light2Dark Nov 9, 2024
85e742c
improvement: allow taking control of an existing session if in edit m…
mscolnick Nov 9, 2024
4172530
docs: replace index.md with readme (#2830)
akshayka Nov 9, 2024
1d13769
AI Completion: Send api-key header for OpenAI endpoints (#2832)
cmarqu Nov 9, 2024
c9f6ab5
docs: light-theme sidebar color (#2831)
akshayka Nov 9, 2024
307eb0c
docs: update docs to show app view is in bottom right (#2834)
Light2Dark Nov 10, 2024
721cb38
Ensure binary messages are serialized to base64 in Panel Comm layer (…
philippjfr Nov 11, 2024
9645775
feat(runtime): add mode property to AppMeta (#2829)
metaboulie Nov 11, 2024
09857b3
fix: open-api schema drift (#2836)
mscolnick Nov 11, 2024
b291160
docs: update md docs db
mscolnick Nov 11, 2024
de80f31
docs: update calendar links to include full URLs (#2840)
Haleshot Nov 11, 2024
95169ea
docs: improve AppMeta documentation (#2838)
metaboulie Nov 11, 2024
a73c34a
docs: add docs for specifying python version while using --sandbox (#…
mscolnick Nov 11, 2024
28d3d74
improvement: prefer _repr_ methods on list/dicts/tuple (#2842)
mscolnick Nov 11, 2024
ea5c526
improvement: add download to File Explorer (#2843)
mscolnick Nov 12, 2024
931cc50
chore(deps): update google-github-actions/upload-cloud-storage action…
renovate[bot] Nov 12, 2024
2c35b2c
docs: app.embed() usage (#2849)
akshayka Nov 12, 2024
f4d6d97
improvement: Extract and lift inline script metadata in `marimo conve…
manzt Nov 12, 2024
6cab387
tests: snapshot ipynb convert tests, add juv test (#2851)
mscolnick Nov 12, 2024
4353713
improvement: better leafmap formatters (#2852)
mscolnick Nov 12, 2024
1a73dc5
fix: devtools package resolution (#2854)
mscolnick Nov 13, 2024
e21108f
fix: package installation for conflicting names, fix for names with b…
mscolnick Nov 13, 2024
2962a33
Fix: expose port via os to allow mpl to work in docker (#2853)
maxtheman Nov 13, 2024
dfbbd25
release: 0.9.18
mscolnick Nov 13, 2024
511b3b8
perf: use pyodide lockfiles (#2858)
mscolnick Nov 13, 2024
5f32b13
chore: add packaging to pyproject.toml top-level (#2859)
mscolnick Nov 13, 2024
25b5175
fix: sql formatting and remove extensions from catalog references (#2…
mscolnick Nov 13, 2024
c329fec
Fix doc typo (#2861)
boisgera Nov 13, 2024
53744aa
feat: add mathjax lib using useScript (#2839)
Light2Dark Nov 14, 2024
36b2223
improvement: redesign disconnected state (#2865)
mscolnick Nov 14, 2024
f430801
docs: add support for model providers with usage examples (#2866)
Haleshot Nov 14, 2024
488a081
chore: add recommended deps (#2867)
mscolnick Nov 14, 2024
d9bc251
fix: QOL improvements when deploying with docker (#2864)
mscolnick Nov 14, 2024
8b66670
fix: sql case with function (#2869)
mscolnick Nov 14, 2024
7b03e67
chore: release script
mscolnick Nov 14, 2024
03aa7aa
Release 0.9.19
mscolnick Nov 14, 2024
ffc99f9
chore: fix release, remoev colors
mscolnick Nov 14, 2024
f9f2e34
chore: remove 'v' from release script
mscolnick Nov 14, 2024
bf4b8a5
chore: correct --no-color
mscolnick Nov 15, 2024
74835ee
docs: faq update for package repro (#2870)
akshayka Nov 15, 2024
a0086a5
fix: render dates in table using local tz (#2872)
mscolnick Nov 15, 2024
0765143
release: 0.9.20
mscolnick Nov 15, 2024
6a02833
Add `frameworks` in README list; fix typo (#2879)
Haleshot Nov 18, 2024
c3e7275
improvement: if mimebundle only contains markdown/latex, convert to h…
mscolnick Nov 18, 2024
6b69e8e
improvement: make it clearer/possible to convert to SQL and markdown …
mscolnick Nov 18, 2024
fe1a3f1
fix: remove upper bound on websockets (#2892)
mscolnick Nov 18, 2024
d3490ca
docs: update deploying docs (#2894)
akshayka Nov 18, 2024
5e6bac1
style: fix banner overflow (#2895)
mscolnick Nov 18, 2024
32f29d5
[pre-commit.ci] pre-commit autoupdate (#2896)
pre-commit-ci[bot] Nov 19, 2024
3f175b1
feat: _display_ protocol (#2471)
akshayka Nov 19, 2024
e8f84e4
upgrade plotly.js to support maplibre (#2903)
Light2Dark Nov 20, 2024
78358ea
improvement: mpl proxy middleware (#2875)
mscolnick Nov 20, 2024
9ec5952
chore: dedupe pnpm lockfile
mscolnick Nov 20, 2024
f697a7b
example: leafmap (#2912)
akshayka Nov 20, 2024
f6f7ac5
fix: only show data-types if coming from a dataframe (#2907)
mscolnick Nov 21, 2024
e87ecb3
improvement: proxy lsp through main server (#2911)
mscolnick Nov 21, 2024
a02d8e1
fix: correct flush of anywidget messages (#2620)
mscolnick Nov 21, 2024
62e9915
force wrap columns in data-table when needed (#2917)
Light2Dark Nov 21, 2024
4684421
fix: route catch all (#2915)
mscolnick Nov 21, 2024
8d63f3a
example: improve dagger example (#2920)
mscolnick Nov 21, 2024
401b2d6
release: 0.9.21
mscolnick Nov 21, 2024
6d76a56
style: add ids to elements to be more easily customized with css (#2925)
mscolnick Nov 21, 2024
5240322
Update Makefile for ".[dev]" (#2929)
koaning Nov 22, 2024
a29755c
fix: poetry list packages (#2927)
akshayka Nov 22, 2024
6a7f8f4
fix: mo.ui.altair_chart when give by the user (#2924)
mscolnick Nov 22, 2024
12c3a11
feat: add html_head_file to inject custom head scripts into the app (…
mscolnick Nov 22, 2024
17f37f5
improvement: allow <script src/> in html (#2931)
mscolnick Nov 22, 2024
d508e61
chore: lint for no print (#2930)
mscolnick Nov 22, 2024
f925a24
fix: use import error, not name error (#2933)
mscolnick Nov 22, 2024
6559d12
fix: marimo-base modification (#2935)
mscolnick Nov 22, 2024
44f45f5
release: 0.9.22
akshayka Nov 23, 2024
b9d7ed1
improvement: support smart paste and drag of files (#2934)
mscolnick Nov 23, 2024
9768c26
fix: add ref handling for useEventListener (#2939)
Light2Dark Nov 23, 2024
756b29e
fix: fix focus element on hidden cells (#2942)
mscolnick Nov 23, 2024
7271121
release: 0.9.23
mscolnick Nov 23, 2024
1f2d0f8
docs: expensive notebooks (#2945)
akshayka Nov 24, 2024
460f5e3
chore: add stricter types for useEventListener (#2943)
mscolnick Nov 24, 2024
0e83cc2
fix: Altair 5.5 compat (#2947)
MarcoGorelli Nov 24, 2024
0863f2c
improvement: copy cell output if user does not select anything (#2949)
mscolnick Nov 25, 2024
0f39306
chore: add npm publish retry (#2948)
mscolnick Nov 25, 2024
e2ccd1d
chore: add some more narwhals tests (#2951)
mscolnick Nov 25, 2024
de49311
improvement: show last run in cell indicator (#2954)
mscolnick Nov 25, 2024
97d5d35
improvement: add action to Clear Cell Outputs / Clear All Outputs (#2…
mscolnick Nov 25, 2024
e07dd95
chore: don't fail on dagger fails (#2957)
mscolnick Nov 25, 2024
994f71d
Allow numpy steps (#2958)
koaning Nov 25, 2024
46436ce
Allow np steps docs (#2963)
koaning Nov 25, 2024
d501c91
improvement: add numpy support to range_slider, update examples (#2964)
mscolnick Nov 25, 2024
78c7b42
improvement: add --sort option to marimo export ipynb (#2962)
mscolnick Nov 25, 2024
a8bfb74
improvement: allow non-pixels for mo.image, mo.video (#2956)
mscolnick Nov 25, 2024
3b586f3
improvement: remove base-url from index.html, instead infer it (#2969)
mscolnick Nov 26, 2024
7c88813
release: 0.9.24
mscolnick Nov 26, 2024
b24bed3
Add bluesky link (#2970)
koaning Nov 26, 2024
5fc5540
Revert "improvement: remove base-url from index.html, instead infer i…
mscolnick Nov 26, 2024
b6a809f
release: 0.9.25
mscolnick Nov 26, 2024
4aeb8ee
fix: pagination in mo.ui.table() when passed in manually (#2972)
mscolnick Nov 26, 2024
700e0aa
fix: ordered field types (#2971)
mscolnick Nov 26, 2024
2a23123
improvement: remove base-url from index.html, instead infer it (#2975)
mscolnick Nov 26, 2024
0cf66ef
fix: resetting pagination after filtering (#2978)
mscolnick Nov 26, 2024
4c335a5
[pre-commit.ci] pre-commit autoupdate (#2966)
pre-commit-ci[bot] Nov 26, 2024
4590e48
Form with examples (#2979)
liquidcarbon Nov 26, 2024
dcfb1b5
release: 0.9.26
mscolnick Nov 26, 2024
d058321
docs: Populating form - HTML escape (#2981)
liquidcarbon Nov 26, 2024
3f48585
Find ruff when it's not on PATH (#2980)
liquidcarbon Nov 27, 2024
b7b1817
fix: table re-render for lists/dictionaries (#2988)
mscolnick Nov 27, 2024
f7c4a79
release: 0.9.27
mscolnick Nov 27, 2024
8177cad
docs: various improvements (#2984)
akshayka Nov 27, 2024
8384a66
docs: fix some warnings when building docs (#2990)
mscolnick Nov 27, 2024
53d6dc4
experimental: chat sidebar (#2989)
mscolnick Nov 27, 2024
0da1a07
Add interactive dataframe GIF to readme (#2992)
akshayka Nov 27, 2024
56bbf31
docs: dataframes tiny edit (#2993)
akshayka Nov 27, 2024
6b08d29
improvement: clamp tables at 50 columnns by default (#3000)
mscolnick Nov 29, 2024
1befc03
improvement: batch the same url requests to avoid additional download…
mscolnick Nov 29, 2024
9b0ca93
fix: use markdown sane_lists, to support different starts (#3003)
mscolnick Nov 29, 2024
9130733
fix: support microseconds in mo.ui.table, (but not nanoseconds) (#3009)
mscolnick Nov 29, 2024
c3cc1de
improvement: add 'Copy image' button (#3006)
mscolnick Nov 29, 2024
ffc6508
improvement: set default config, if missing (#3004)
mscolnick Nov 29, 2024
816983a
improvement: warn on integer columns names (#3005)
mscolnick Nov 29, 2024
064e07e
chore: move max_columns to avoid breaking change (#3010)
mscolnick Nov 30, 2024
34a5419
Added link to Mastodon (#3014)
egonw Dec 1, 2024
ac1dd83
fix(deps): update dependency @radix-ui/react-icons to ~1.3.2 (#3013)
renovate[bot] Dec 2, 2024
de95d78
chore(deps): update all storybook dependencies to ^8.4.6 (#3012)
renovate[bot] Dec 2, 2024
6b6144e
improvement: add _repr_markdown_ to Md component, and _repr_html_ to …
mscolnick Dec 2, 2024
85b35f9
fix: allow re-rendering anywidget js (#3022)
mscolnick Dec 2, 2024
0be51d3
fix: altair overflow styling (#3024)
mscolnick Dec 2, 2024
9c47539
improvement: Wrap output for lists and dictionaries (#2995)
wasimsandhu Dec 2, 2024
41a0500
improvement: markdown code to be completely hidden upon 'Hide Code' (…
Light2Dark Dec 2, 2024
c1f3512
improvement: add tooltips to some hide/show code, fix markdown when c…
mscolnick Dec 2, 2024
39a98a4
improvement: add new-notebook button (#3027)
mscolnick Dec 2, 2024
9258bca
release: 0.9.28
mscolnick Dec 2, 2024
9b60b80
improvement: autoscroll in chat (#3030)
mscolnick Dec 2, 2024
9d537ee
improvement: include samples in AI prompt (#3028)
mscolnick Dec 2, 2024
4d0a1c8
[pre-commit.ci] pre-commit autoupdate (#3032)
pre-commit-ci[bot] Dec 3, 2024
a55d778
fix: sort only when column exists (#3031)
Light2Dark Dec 3, 2024
d757fc3
improvement: add borderless markdown and some ui fixes (#3038)
Light2Dark Dec 3, 2024
871a689
fix: theme in chat sidebar (#3039)
mscolnick Dec 3, 2024
6b58c67
docs: escaping sql backets (#3042)
mscolnick Dec 3, 2024
d030aa1
fix: make sample_values an Any (#3040)
mscolnick Dec 3, 2024
4c18c57
fix: z-index of drag handle (#3044)
mscolnick Dec 3, 2024
33857ae
release: 0.9.29
mscolnick Dec 3, 2024
f059581
fix: windows decoding in marimo convert (#3041)
mscolnick Dec 3, 2024
a49c75e
chore: move starlette as lazy import (#3046)
mscolnick Dec 3, 2024
98c809b
improvement: force expand markdown content (#3045)
mscolnick Dec 3, 2024
e07943d
improvement: reduce react compiler lint errors for better react compi…
mscolnick Dec 3, 2024
3cd3011
improvement: don't convert classes that extend tuple/dict/list to str…
mscolnick Dec 3, 2024
0ee0ded
fix: don't unhide when markdown is empty (#3049)
mscolnick Dec 3, 2024
81ff2ec
release: 0.9.30
mscolnick Dec 3, 2024
59a99b8
improvement: add copy/paste to json viewer, support urls (#3050)
mscolnick Dec 4, 2024
f15e787
improve: borderless markdown in html exports (#3052)
akshayka Dec 4, 2024
4fe3d90
tutorials: update markdown usage (#3051)
akshayka Dec 4, 2024
2414b61
docs: more tips for coming from jupyter (#3053)
akshayka Dec 4, 2024
b2a71c6
improvement: add marimo.create_asgi_app().with_dynamic_directory (#3057)
mscolnick Dec 4, 2024
5e76aa1
improvement: tie-break topological sort by top-down order (#3060)
mscolnick Dec 4, 2024
9c8d11a
improvement: make ui-element ids deterministic across runs (#3061)
mscolnick Dec 4, 2024
2de1e49
fix: faster module watcher tests (#3062)
mscolnick Dec 5, 2024
8edac6e
fix: only add borderless css when not published (#3066)
Light2Dark Dec 5, 2024
da7a499
improvement: marimo export ipynb with outputs (#3048)
mscolnick Dec 5, 2024
42c1c63
release: 0.9.31
mscolnick Dec 5, 2024
c37576a
test: update export ipynb test (#3067)
mscolnick Dec 5, 2024
b0dea05
fix: customize copy button on json viewer to avoid content shift (#3068)
mscolnick Dec 5, 2024
84e5f35
example: serve notebooks from github (#3072)
mscolnick Dec 6, 2024
4129e02
Parameterize fastapi-github example with environment vars (#3078)
manzt Dec 6, 2024
47b5d1d
fix: make scratchpad scrollable (#3076)
Light2Dark Dec 6, 2024
8e23ec8
release: 0.9.32
mscolnick Dec 6, 2024
be4ab4c
improvement: refactors for perf (#3079)
mscolnick Dec 6, 2024
8c41222
feat: override configuration with pyproject.toml (#3071)
mscolnick Dec 6, 2024
bf8d2a1
improvement: don't send variables if they dont change (#3080)
mscolnick Dec 6, 2024
e0e6ed8
improvement: add validate callback to asgi with_dynamic_directory (#3…
mscolnick Dec 6, 2024
f2c288b
example: deploy editable notebooks in Modal (#3087)
ashah03 Dec 6, 2024
4a8685a
fix: allow grid controls to be edited (#3092)
Light2Dark Dec 9, 2024
b684689
fix: marimo export returns propper error code (#3091)
mscolnick Dec 9, 2024
7ba411e
improvement: include cell config and name in ipynb metadata (#3093)
mscolnick Dec 9, 2024
d016549
development: add command to print all routes (#3094)
mscolnick Dec 9, 2024
387b711
improvement: add asgi middleware to create_asgi_app (#3095)
mscolnick Dec 9, 2024
791bad6
improvement: allow python files with just deps or no cells (#3096)
mscolnick Dec 9, 2024
bca676f
example: explore embeddings (#3097)
mscolnick Dec 9, 2024
b893810
release: 0.9.33
mscolnick Dec 10, 2024
bbfa777
fix: ignore mo.stop() 'errors' in marimo export (#3099)
mscolnick Dec 10, 2024
ed67b01
docs: update getting started (#3101)
akshayka Dec 10, 2024
decd87d
fix: .schema perf improvements (#3108)
mscolnick Dec 10, 2024
cf6bcf6
fix: altair datetime selection filtering (#3102)
mscolnick Dec 10, 2024
32b9323
release: 0.9.34
mscolnick Dec 10, 2024
c0ff797
perf: check if package has been imported instead of installed (#3109)
mscolnick Dec 10, 2024
9fd2cad
Update feedback dialog (#3118)
akshayka Dec 11, 2024
08e234f
docs: add missing period in README dataframes section (#3121)
devin-ai-integration[bot] Dec 11, 2024
b027353
fix: df schema performance test limit
mscolnick Dec 11, 2024
fb8e9f5
fix: use --marimo-monospace-font for terminal font configuration (#3123)
devin-ai-integration[bot] Dec 11, 2024
ddf8562
feat: respect Python version from inline-scripts (PEP 723) when runni…
devin-ai-integration[bot] Dec 11, 2024
17ba471
Add validation for file type extensions in mo.ui.file (#3124)
devin-ai-integration[bot] Dec 11, 2024
8dad232
feat: show network url when running host=0.0.0.0 (#3128)
mscolnick Dec 11, 2024
081f703
fix: case sensitivity of uppercase searches (#3131)
mscolnick Dec 11, 2024
9473c49
docs: add docs for exporting to PDF, slides, or rst (#3133)
mscolnick Dec 11, 2024
506c285
improvement: allow running any cell when auto-run-on-startup is off (…
mscolnick Dec 11, 2024
3b6034f
test: add tests for encapsulated React hooks (#3137)
devin-ai-integration[bot] Dec 12, 2024
c27f0f9
feat: `marimo export html-wasm` with included assets (#3134)
mscolnick Dec 12, 2024
d1dd796
fix: altair chart for datetimes with no timezone expected (#3135)
mscolnick Dec 12, 2024
aada953
fix: altair chart dark mode toggle (#3136)
mscolnick Dec 12, 2024
97a52e1
feat: support for Azure OpenAI with AI Assistant (#3120)
matulef Dec 12, 2024
e5af6a0
improvement: single '_' function names to work with linting (#3143)
mscolnick Dec 12, 2024
f845fc8
feat: add auto-export as ipynb feature (#3138)
devin-ai-integration[bot] Dec 12, 2024
0e99bed
cli debug
mscolnick Dec 12, 2024
2367332
fix: make name change backwards compat in the ui (#3147)
mscolnick Dec 12, 2024
f7ab973
test: maybe fix windows cli tests (#3146)
mscolnick Dec 12, 2024
a75baf6
fix: preserve table selection on accordion toggle (#3148)
devin-ai-integration[bot] Dec 12, 2024
8defa6d
feat: add task list support to markdown (#3151)
mscolnick Dec 12, 2024
298b386
tests: revert cli debug (#3153)
mscolnick Dec 13, 2024
de0b3f3
feat: markdown caption support, tabs, critic, emoji, magic links (#3152)
mscolnick Dec 13, 2024
6af7f91
improvement: errors should stay internal in marimo run and logged to …
mscolnick Dec 13, 2024
d321e0a
release: 0.10.0
mscolnick Dec 13, 2024
2934e39
fix: higher-order components should call `on_update_completion()` (#3…
akshayka Dec 13, 2024
9b00dc4
fix: lower dep on pymdown (#3156)
mscolnick Dec 13, 2024
96b6eb4
release: 0.10.1
mscolnick Dec 13, 2024
8dc1255
chore: add gh pages example (#3157)
mscolnick Dec 13, 2024
8e92b50
fix: various wasm fixes for those who self-host (#3160)
mscolnick Dec 13, 2024
62354dd
gh pages example: run (#3161)
akshayka Dec 13, 2024
6432742
fix docs heading (#3163)
akshayka Dec 13, 2024
64b1a64
fix: turn autosave off on wasm export (#3162)
mscolnick Dec 13, 2024
a6c464b
improve: marimo export html-wasm CLI message (#3166)
akshayka Dec 13, 2024
574a998
release: 0.10.2
akshayka Dec 13, 2024
df25028
docs: feedback link (#3172)
akshayka Dec 14, 2024
3493790
feat: add active connection enpdoint (#3170)
mscolnick Dec 15, 2024
1023d0d
feat: add null filtering to series operations (#3188)
devin-ai-integration[bot] Dec 16, 2024
ec6a57e
fix: nested ModuleNotFound (#3186)
mscolnick Dec 16, 2024
0cc583f
fix: resolve relative URL for old browsers (#3183)
mscolnick Dec 16, 2024
c9f0a7f
fix: marimo edit --sandbox no longer creates new files (#3181)
mscolnick Dec 16, 2024
9a183bd
improvement: add --no-show-code to marimo export wasm (#3184)
mscolnick Dec 16, 2024
d4f95a8
Add mo.editor.register_datasource method
riyavsinha Nov 3, 2024
e2be35b
add test
riyavsinha Nov 4, 2024
0139f34
make below cell output the default
riyavsinha Nov 4, 2024
6d15317
basic agent adding using mo.ai.agents.register_agent and mo.ai.agents…
riyavsinha Dec 16, 2024
a7e7862
cleanup
riyavsinha Dec 17, 2024
c2dd1a5
undo cla deletion, can disable manually
riyavsinha Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: true
contact_links:
- name: Discord Chat
url: https://discord.gg/JE7nhX6mD8
url: https://marimo.io/discord?ref=issues
about: Ask questions and discuss with other marimo users.
- name: Questions & Discussions
url: https://github.com/marimo-team/marimo/discussions
Expand Down
11 changes: 6 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
## 📝 Summary

<!--
<!--
Provide a concise summary of what this pull request is addressing.

If this PR fixes any issues, list them here by number (e.g., Fixes #123).
If this PR fixes any issues, list them here by number (e.g., Fixes #123).
-->

## 🔍 Description of Changes

<!--
<!--
Detail the specific changes made in this pull request. Explain the problem addressed and how it was resolved. If applicable, provide before and after comparisons, screenshots, or any relevant details to help reviewers understand the changes easily.
-->

## 📋 Checklist

- [ ] I have read the [contributor guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md).
- [ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on [Discord](https://discord.gg/JE7nhX6mD8), or the community [discussions](https://github.com/marimo-team/marimo/discussions) (Please provide a link if applicable).
- [ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on [Discord](https://marimo.io/discord?ref=pr), or the community [discussions](https://github.com/marimo-team/marimo/discussions) (Please provide a link if applicable).
- [ ] I have added tests for the changes made.
- [ ] I have run the code and verified that it works as expected.

## 📜 Reviewers

<!--
<!--
Tag potential reviewers from the community or maintainers who might be interested in reviewing this pull request.

Your PR will be reviewed more quickly if you can figure out the right person to tag with @ -->

@akshayka OR @mscolnick
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
#use-dco-flag: true - If you are using DCO instead of CLA
#use-dco-flag: true - If you are using DCO instead of CLA
16 changes: 14 additions & 2 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
run: |
for i in {1..3}; do
npm publish --access public && break || {
echo "Publish attempt $i failed, retrying..."
sleep 10
}
done

- name: 📦 Update package.json name to @marimo-team/islands
working-directory: frontend
Expand All @@ -112,7 +118,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
run: |
for i in {1..3}; do
npm publish --access public && break || {
echo "Publish attempt $i failed, retrying..."
sleep 10
}
done

- name: 📝 Comment PR
uses: actions/github-script@v7
Expand Down
44 changes: 40 additions & 4 deletions .github/workflows/marimo-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@ on:
types: [created]

env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: marimo

jobs:
# Various jobs that can be triggered by comments
create-test-release:
if: contains(github.event.comment.body, '/marimo create-test-release') && github.event.issue.pull_request
if: >
(
github.event.issue.author_association == 'OWNER' ||
github.event.issue.author_association == 'COLLABORATOR' ||
github.event.issue.author_association == 'MEMBER' ||
github.event.comment.author_association == 'OWNER' ||
github.event.comment.author_association == 'COLLABORATOR' ||
github.event.comment.author_association == 'MEMBER'
) &&
github.event.issue.pull_request &&
contains(github.event.comment.body, '/marimo create-test-release')
name: 📤 Publish test release
runs-on: ubuntu-latest
defaults:
Expand All @@ -22,11 +31,30 @@ jobs:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1

- name: 📝 Get PR Info
id: pr
env:
PR_NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
COMMENT_AT: ${{ github.event.comment.created_at }}
run: |
pr="$(gh api /repos/${GH_REPO}/pulls/${PR_NUMBER})"
head_sha="$(echo "$pr" | jq -r .head.sha)"
pushed_at="$(echo "$pr" | jq -r .pushed_at)"

if [[ $(date -d "$pushed_at" +%s) -gt $(date -d "$COMMENT_AT" +%s) ]]; then
echo "Updating is not allowed because the PR was pushed to (at $pushed_at) after the triggering comment was issued (at $COMMENT_AT)"
exit 1
fi

echo "head_sha=$head_sha" >> $GITHUB_OUTPUT

- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.issue.number }}/head
ref: ${{ steps.pr.outputs.head_sha }}

- name: 📝 Initial Comment on PR
uses: actions/github-script@v7
Expand Down Expand Up @@ -58,6 +86,8 @@ jobs:

- name: 📦 Build frontend
run: make fe
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}

- name: 🥚 Install Hatch
uses: pypa/hatch@install
Expand Down Expand Up @@ -105,7 +135,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
run: |
for i in {1..3}; do
npm publish --access public && break || {
echo "Publish attempt $i failed, retrying..."
sleep 10
}
done

- name: 📝 Update PR Comment
uses: actions/github-script@v7
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: GitHub Pages

on:
# Weekly
schedule:
- cron: '0 0 * * 0' # Run at midnight UTC on Sunday

# Allow manual trigger
workflow_dispatch: {}

env:
UV_SYSTEM_PYTHON: 1

jobs:
export-notebooks:
runs-on: ubuntu-latest

permissions:
pull-requests: write
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🚀 Install uv
uses: astral-sh/setup-uv@v4

- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: 📦 Install marimo
run: |
uv pip install marimo

- name: 🛠️ Run export
run: |
marimo export html-wasm frontend/public/files/wasm-intro.py -o out --mode run
sed -i -e "s/after_delay/off/g" out/index.html

- name: 📄 List changed files
continue-on-error: true
run: |
echo "Changed files:"
git diff --name-only HEAD^ HEAD

- name: 📦 Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: out

deploy:
needs: export-notebooks
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

permissions:
pages: write
id-token: write

steps:
- name: 🌐 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: github-pages
50 changes: 24 additions & 26 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,40 +108,38 @@ jobs:
- name: 🎭 Run Playwright tests
working-directory: ./frontend
run: pnpm playwright test
# TODO(msconick) remove continue-on-error when all tests pass
continue-on-error: true
env:
VITE_MARIMO_VERSION: ${{ env.MARIMO_VERSION }}

- name: ☁️ Google Auth
uses: google-github-actions/auth@v1
# Skip on forks
if: github.event.pull_request.head.repo.organization == 'marimo-team'
with:
credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
# - name: ☁️ Google Auth
# uses: google-github-actions/auth@v2
# # Skip on forks
# if: github.event.pull_request.head.repo.organization == 'marimo-team'
# with:
# credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}

- name: 🌲 Get branch name
id: branch-name
uses: tj-actions/branch-names@v7
# - name: 🌲 Get branch name
# id: branch-name
# uses: tj-actions/branch-names@v7

- name: 📦 Upload to bucket (PR)
uses: google-github-actions/upload-cloud-storage@v1
# Only on PRs and not forks
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.organization == 'marimo-team'
with:
destination: marimo-oss-visual-snapshots/branches/${{ steps.branch-name.outputs.current_branch }}
path: frontend/e2e-tests/screenshots
# - name: 📦 Upload to bucket (PR)
# uses: google-github-actions/upload-cloud-storage@v2
# # Only on PRs and not forks
# if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.organization == 'marimo-team'
# with:
# destination: marimo-oss-visual-snapshots/branches/${{ steps.branch-name.outputs.current_branch }}
# path: frontend/e2e-tests/screenshots

- name: 📦 Upload to bucket (main)
uses: google-github-actions/upload-cloud-storage@v1
# Only on main branch and not forks
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.pull_request.head.repo.organization == 'marimo-team'
with:
destination: marimo-oss-visual-snapshots/main
path: frontend/e2e-tests/screenshots
# - name: 📦 Upload to bucket (main)
# uses: google-github-actions/upload-cloud-storage@v2
# # Only on main branch and not forks
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.pull_request.head.repo.organization == 'marimo-team'
# with:
# destination: marimo-oss-visual-snapshots/main
# path: frontend/e2e-tests/screenshots

- name: 📊 Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
run: |
for i in {1..3}; do
npm publish --access public && break || {
echo "Publish attempt $i failed, retrying..."
sleep 10
}
done

- name: 📦 Update package.json name to @marimo-team/islands
working-directory: frontend
Expand All @@ -98,7 +104,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
run: |
for i in {1..3}; do
npm publish --access public && break || {
echo "Publish attempt $i failed, retrying..."
sleep 10
}
done

publish_docker:
name: 🐋 Publish Docker images
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_be.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ jobs:
- name: Test with minimal dependencies
if: ${{ matrix.dependencies == 'core' }}
run: |
hatch run +py=${{ matrix.python-version }} test:test -v tests/ -k "not test_cli"
hatch run +py=${{ matrix.python-version }} test:test -v tests/ -k "not test_cli" --durations=10

# Test with optional dependencies
- name: Test with optional dependencies
if: ${{ matrix.dependencies == 'core,optional' }}
run: |
hatch run +py=${{ matrix.python-version }} test-optional:test -v tests/ -k "not test_cli"
hatch run +py=${{ matrix.python-version }} test-optional:test -v tests/ -k "not test_cli" --durations=10
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
name: Daggerized Backend Test
runs-on: ubuntu-latest
timeout-minutes: 15
continue-on-error: true

steps:
- name: 🛑 Cancel Previous Runs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
done

- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: testwheel
path: dist/*.whl
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
pip install pytest pytest-asyncio nbformat

- name: Download wheel
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: testwheel

Expand All @@ -134,7 +134,7 @@ jobs:
- name: Test CLI
shell: bash
run: |
pytest -v tests/_cli/test_cli*
pytest -v tests/_cli/test_cli* --maxfail=2

test_examples:
needs: [changes, build_wheel]
Expand All @@ -159,7 +159,7 @@ jobs:
uv-venv: marimo-venv

- name: Download wheel
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: testwheel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
name: 🖥️ Lint, test, build frontend
runs-on: ubuntu-latest
timeout-minutes: 15
continue-on-error: true

steps:
- name: 🛑 Cancel Previous Runs
Expand Down
Loading
Loading