TangleSpace / hydralit

A library to create multi-page Streamlit applications with ease.
Apache License 2.0
202 stars 19 forks source link

hydralit 1.0.12 and streamlit 1.9.0 #36

Closed maxkryschi closed 2 years ago

maxkryschi commented 2 years ago

Hi !

When I try to implement hydralit 1.0.12 in my App (I use streamlit 1.9.0) the following error occurs:

from streamlit.script_run_context import get_script_run_ctx
ModuleNotFoundError: No module named 'streamlit.script_run_context'

It would be great if you could fix this. Thank you for sharing hydralit with us! :)

quillaur commented 2 years ago

Same bug for me.

tjefferies commented 2 years ago

Same bug for me, I think 4fd90e807a0da1c4e95b6bd31f1b15f4204a3918 fixes, @TangleSpace can you upload the version with this commit to PyPi ?

pedrostrusso commented 2 years ago

Also waiting for the update with the fix

AravindRK99 commented 2 years ago

You can include streamlit.scriptrunner.script_run_context in the streamlit package. That should resolve the issue.

TangleSpace commented 2 years ago

New version 1.0.13 release now supports Streamlit >=1.9, until Streamlit decide to change more shit and break Hydralit again.