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

dev/upgrade streamlit 1.27.0 #671

Merged
merged 48 commits into from
Jan 19, 2024
Merged

dev/upgrade streamlit 1.27.0 #671

merged 48 commits into from
Jan 19, 2024

Conversation

whitphx
Copy link
Owner

@whitphx whitphx commented Jan 7, 2024

  • Copy .nvmrc from [email protected]
  • Update the streamlit submodule, fix some package resolutions for it, and fix @stlite/kernel for streamlit 1.27.0
  • Update @stlite/common-react and mountable
  • Set webpack version in @stlite/mountable as same as [email protected]
  • Set the resolved webpack version to avoid an error "The 'compilation' argument must be an instance of Compilation", which is caused by multiple versions of webpack. Ref: https://qiita.com/Hanpen3019/items/e6ae5d29b334bc3d7af3
  • Update @stlire/sharing
  • Update @stlite/desktop
  • Update Makefile
  • Update the streamlit submodule

@whitphx whitphx force-pushed the dev/upgrade-streamlit-1.27.0 branch from b73a964 to 13769ab Compare January 7, 2024 14:41
@whitphx whitphx force-pushed the dev/upgrade-streamlit-1.27.0 branch from 5cf0652 to ad9d15d Compare January 8, 2024 03:27
@@ -3,7 +3,9 @@
"name": "stlite",
"workspaces": [
"packages/*",
"streamlit/frontend"
"streamlit/frontend",
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: streamlit/frontend is still needed here because the streamlit-proto make rule calls yarn pbjs in this directory, and yarn run needs to be run in a workspace directory to find the command binary location.

…ream Streamlit frontend to avoid type errors
@whitphx
Copy link
Owner Author

whitphx commented Jan 8, 2024

At this point, I could make make mountable and make sharing work to pass the frontend builds,
while the patch code still need to be changed to catch up with the upstream changes, such as packages/kernel/src/(react-helpers|streamlit-replacements)/* and packages/kernel/py/stlite-server/* (and maybe more).

@lukasmasuch

@whitphx whitphx mentioned this pull request Jan 17, 2024
lukasmasuch and others added 3 commits January 17, 2024 15:42
* Add stlite modifications

* Add back connection manager

* Move methods

* Some updates

* Remove header

* More cleanup

* More changes

* More cleanup

* More modifications

* Don't update pyiodide

* More cleanup

* Don't Update pyodide

* Don't update pyiodide

* More cleanup

* More cleanup

* Rename of option

* Remove new line

* Minor cleanup

* Fix wrong option name

* Minor renaming

* Fix typo

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <[email protected]>

* Update comment

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <[email protected]>

* Remove paths

* Change to put

* Update URL

* Add gatherUsageStats flag

---------

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <[email protected]>
@whitphx
Copy link
Owner Author

whitphx commented Jan 19, 2024

Released as 0.43.1.

@lukasmasuch Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants