How to install and run a pre-release/development version locally with sandbox? #3561
Unanswered
gabrielgrant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the logs that flash by as marimo starts in sandbox mode, it seems it installs the version of the marimo package from pypi that corresponds to the running version's version. This works fine with official releases, but makes it hard to test development branches, since they still have the prior version number, so the running notebook won't reflect the changes
I tried installing the dev branch of marimo that I wanted to try from within the notebook itself, but that didn't work either:
Full error
Seems the problem stems from here: https://github.com/marimo-team/marimo/pull/3425/files#diff-51eb6b42da48a45412748bdf9e72bf66450b4c35599812252740399c351a137fR235
Tried adding the dep explicitly to the notebook metadata:
initially that still failed because of a version mismatch
details
Updating my installed version to be from the dev version at least got the server to start, but I'm still getting the error about a missing
index.html
file (implying these files aren't included in the github zipfile bundle?) as soon as I try to open the pageFull error
Edit:
Somewhat answering my own question, it appears the issue is that the front-end requires building which happens separately from the python installation process, so just installing from the github source is insufficient
More info in CONTRIBUTING.md, but still figuring out some details (exactly what is required to actually run a dev version isn't explicitly spelled out in there)
Still wondering if to make testing dev versions easier it might make sense to publish the dev builds somewhere as part of CI? Ideally both for PRs and each sommit added to main
Beta Was this translation helpful? Give feedback.
All reactions