I left a reply on this issue:
the internal package structure has changed due to a refactoring; if you change the import in the
streamlit_callback.py
tofrom streamlit.components.v1 import custom_component as _components
, it should work again. If you are not the author ofsac
, this might be something to bring to them.That being written, this is not an official API we are going to guarantee from Streamlit-side However, we will look into this more closely and try to come up with a clean API for the future so that this patch is not needed anymore. In the meantime, I hope this^ unblocks you (for now).