I’ve been thinking about this, and I suspect that the error occurs because Streamlit doesn’t parse pyproject.toml
or doesn’t resolve metadata during app deployment, and that the workaround will be to set __VERSION__
in ssscoring.__init__.py
for this project and have pyproject.toml
update it from there during builds, instead of best practice of defining it in the TOML file. Thoughts?
That experiment didn’t work. Reverted the code back to what’s described in the main post under this topic.
I added the package github path directly to requirements.txt
so uv installs it before deploying.
App in Community Cloud:
(I’d make a separate the repo for the web app demo because the app requirements are not necessarily the same than the package requirements and that can get confusing.)
Awesome - I’ll try that later today.
I thought about separating the GUI version from the rest of the package, this was nice confirmation. I need to figure out how that plays with the rest of the package workflows.
Thanks and take care!