Community Cloud seems to be ignoring a Streamlit version installed using conda, and overwriting it with a pip installed version that then ignores the dependencies of the yaml file. This is causing me issues with s3fs/botocore/urllib, which end up out of sync and and prevent me importing s3fs.
I’ve had a few issues with Community Cloud processing a yaml file to specify a conda environment. Everything here works fine offline, but causes issues when processing dependencies on the cloud. The first issue was with using the conda-forge channel as in
That’s fine, though conda-forge has 289057 downloads for streamlit and counting so not sure what everyone else is doing re environment creation. I’ve used the defaults/main channel instead, however main only has Streamlit=1.24 (https://anaconda.org/search?q=streamlit). When I set-up a yaml file with channels as “defaults” conda pulls streamlit=1.24, sorts out the rest of the dependencies, then checks if Streamlit is installed, and starts pip installing streamlit=1.26. This has different dependencies, overrides what’s already been installed and leaves me with an error when it comes to s3fs, botocore and urllib which are now out of sync with each other.
Basic reproducible repo is here, with example logs included: