Streamlit cloud issues

Hi guys,

since a few days streamlit cloud seems to be broken, are there any known issues? It looks like the dependencies are not properly installed. Also locally everything works without issues.

Streamlit cloud logs

[client] Connecting…
e[32m[manager] e[0mStarting up repository: ‘substitute-recommender’, branch: ‘master’, main module: ‘streamlit_app.py’
e[32m[manager] e[0mCloning repository…
e[32m[manager] e[0mCloning into ‘/app/substitute-recommender’…

e[32m[manager] e[0mCloned repository!
e[32m[manager] e[0mPulling code changes from Github…
e[32m[manager] e[0mProcessing dependencies…
Collecting streamlit==1.3.1
Downloading streamlit-1.3.1-py2.py3-none-any.whl (9.2 MB)
Collecting pandas==1.3.5
Downloading pandas-1.3.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)
Collecting numpy==1.22.0
Downloading numpy-1.22.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
Collecting gensim==4.1.2
Downloading gensim-4.1.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (24.0 MB)
Collecting requests==2.27.1
Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting puremagic==1.11
Downloading puremagic-1.11-py3-none-any.whl (31 kB)
Collecting progressbar==2.5
Downloading progressbar-2.5.tar.gz (10 kB)
Collecting func_timeout==4.3.5
Downloading func_timeout-4.3.5.tar.gz (44 kB)
Collecting googletrans==3.1.0a0
Downloading googletrans-3.1.0a0.tar.gz (19 kB)
Collecting google-cloud-translate==3.6.1
Downloading google_cloud_translate-3.6.1-py2.py3-none-any.whl (111 kB)
Collecting dask==2021.12.0
Downloading dask-2021.12.0-py3-none-any.whl (1.0 MB)
Collecting base58
Downloading base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting pyarrow
Downloading pyarrow-7.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.7 MB)
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting astor
Downloading astor-0.8.1-py2.py3-none-any.whl (27 kB)
Collecting attrs
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting cachetools>=4.0
Downloading cachetools-5.0.0-py3-none-any.whl (9.1 kB)
Collecting tornado>=5.0
Downloading tornado-6.1-cp39-cp39-manylinux2010_x86_64.whl (427 kB)
Collecting pydeck>=0.1.dev5
Downloading pydeck-0.7.1-py2.py3-none-any.whl (4.3 MB)
Collecting blinker
Downloading blinker-1.4.tar.gz (111 kB)
Collecting click<8.0,>=7.0
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting validators
Downloading validators-0.18.2-py3-none-any.whl (19 kB)
Collecting gitpython!=3.1.19
Downloading GitPython-3.1.26-py3-none-any.whl (180 kB)
Collecting pympler>=0.9
Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
Collecting packaging
Downloading packaging-21.3-py3-none-any.whl (40 kB)
Collecting watchdog
Downloading watchdog-2.1.6-py3-none-manylinux2014_x86_64.whl (76 kB)
Collecting pillow>=6.2.0
Downloading Pillow-9.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
Collecting altair>=3.2.0
Downloading altair-4.2.0-py3-none-any.whl (812 kB)
Collecting toml
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting tzlocal
Downloading tzlocal-4.1-py3-none-any.whl (19 kB)
Collecting protobuf!=3.11,>=3.6.0
Downloading protobuf-3.19.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pytz>=2017.3
Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting scipy>=0.18.1
Downloading scipy-1.7.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.8 MB)
Collecting smart-open>=1.8.1
Downloading smart_open-5.2.1-py3-none-any.whl (58 kB)
Collecting charset-normalizer~=2.0.0
Downloading charset_normalizer-2.0.11-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting httpx==0.13.3
Downloading httpx-0.13.3-py3-none-any.whl (55 kB)
Collecting google-cloud-core<3.0.0dev,>=1.3.0
Downloading google_cloud_core-2.2.2-py2.py3-none-any.whl (29 kB)
Collecting google-api-core[grpc]<3.0.0dev,>=1.28.0
Downloading google_api_core-2.5.0-py2.py3-none-any.whl (111 kB)
Collecting proto-plus>=0.4.0
Downloading proto_plus-1.19.9-py3-none-any.whl (45 kB)
Collecting cloudpickle>=1.1.1
Downloading cloudpickle-2.0.0-py3-none-any.whl (25 kB)
Collecting pyyaml
Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
Collecting fsspec>=0.6.0
Downloading fsspec-2022.1.0-py3-none-any.whl (133 kB)
Collecting partd>=0.3.10
Downloading partd-1.2.0-py3-none-any.whl (19 kB)
Collecting toolz>=0.8.2
Downloading toolz-0.11.2-py3-none-any.whl (55 kB)
Collecting idna<4,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting httpcore==0.9.*
Downloading httpcore-0.9.1-py3-none-any.whl (42 kB)
Collecting rfc3986<2,>=1.3
Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting hstspreload
Downloading hstspreload-2021.12.1-py3-none-any.whl (1.3 MB)
Collecting chardet==3.*
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting h11<0.10,>=0.8
Downloading h11-0.9.0-py2.py3-none-any.whl (53 kB)
Collecting h2==3.*
Downloading h2-3.2.0-py2.py3-none-any.whl (65 kB)
Collecting hyperframe<6,>=5.2.0
Downloading hyperframe-5.2.0-py2.py3-none-any.whl (12 kB)
Collecting hpack<4,>=3.0
Downloading hpack-3.0.0-py2.py3-none-any.whl (38 kB)
Collecting entrypoints
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting jsonschema>=3.0
Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB)
Collecting jinja2
Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting smmap<6,>=3.0.1
Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting google-auth<3.0dev,>=1.25.0
Downloading google_auth-2.6.0-py2.py3-none-any.whl (156 kB)
Collecting googleapis-common-protos<2.0dev,>=1.52.0
Downloading googleapis_common_protos-1.54.0-py2.py3-none-any.whl (207 kB)
Collecting grpcio<2.0dev,>=1.33.2
Downloading grpcio-1.43.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)
Collecting grpcio-status<2.0dev,>=1.33.2
Downloading grpcio_status-1.43.0-py3-none-any.whl (10.0 kB)
Collecting six>=1.9.0
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyasn1-modules>=0.2.1
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting rsa<5,>=3.1.4
Downloading rsa-4.8-py3-none-any.whl (39 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Downloading pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (115 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB)
Collecting locket
Downloading locket-0.2.1-py2.py3-none-any.whl (4.1 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting traitlets>=4.3.2
Downloading traitlets-5.1.1-py3-none-any.whl (102 kB)
Collecting ipykernel>=5.1.2
Downloading ipykernel-6.8.0-py3-none-any.whl (128 kB)
Collecting ipywidgets>=7.0.0
Downloading ipywidgets-7.6.5-py2.py3-none-any.whl (121 kB)
Collecting debugpy<2.0,>=1.0.0
Downloading debugpy-1.5.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.9 MB)
Collecting nest-asyncio
Downloading nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB)
Collecting matplotlib-inline<0.2.0,>=0.1.0
Downloading matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting jupyter-client<8.0
Downloading jupyter_client-7.1.2-py3-none-any.whl (130 kB)
Collecting ipython>=7.23.1
Downloading ipython-8.0.1-py3-none-any.whl (747 kB)
Collecting backcall
Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting pickleshare
Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting stack-data
Downloading stack_data-0.1.4-py3-none-any.whl (20 kB)
Collecting decorator
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting black
Downloading black-22.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
Collecting jedi>=0.16
Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Downloading prompt_toolkit-3.0.26-py3-none-any.whl (375 kB)
Collecting pygments
Downloading Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting setuptools>=18.5
Downloading setuptools-60.7.1-py3-none-any.whl (1.0 MB)
Collecting pexpect>4.3
Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting widgetsnbextension~=3.5.0
Downloading widgetsnbextension-3.5.2-py2.py3-none-any.whl (1.6 MB)
Collecting ipython-genutils~=0.2.0
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting nbformat>=4.2.0
Downloading nbformat-5.1.3-py3-none-any.whl (178 kB)
Collecting jupyterlab-widgets>=1.0.0
Downloading jupyterlab_widgets-1.0.2-py3-none-any.whl (243 kB)
Collecting parso<0.9.0,>=0.8.0
Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting pyzmq>=13
Downloading pyzmq-22.3.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
Collecting jupyter-core>=4.6.0
Downloading jupyter_core-4.9.1-py3-none-any.whl (86 kB)
Collecting ptyprocess>=0.5
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth
Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting notebook>=4.4.1
Downloading notebook-6.4.8-py3-none-any.whl (9.9 MB)
Collecting Send2Trash>=1.8.0
Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting terminado>=0.8.3
Downloading terminado-0.13.1-py3-none-any.whl (14 kB)
Collecting nbconvert
Downloading nbconvert-6.4.1-py3-none-any.whl (557 kB)
Collecting prometheus-client
Downloading prometheus_client-0.13.1-py3-none-any.whl (57 kB)
Collecting argon2-cffi
Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi-bindings
Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB)
Collecting cffi>=1.0.1
Downloading cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
e[36mINFOe[0m: pip is looking at multiple versions of base58 to determine which version is compatible with other requirements. This could take a while.
Collecting base58
Downloading base58-2.1.0-py3-none-any.whl (5.6 kB)
Downloading base58-2.0.1-py3-none-any.whl (4.3 kB)
Downloading base58-2.0.0-py3-none-any.whl (6.0 kB)
Downloading base58-1.0.3-py3-none-any.whl (3.1 kB)
Downloading base58-1.0.2-py3-none-any.whl (3.3 kB)
Downloading base58-1.0.1-py3-none-any.whl (3.3 kB)
Downloading base58-1.0.0.tar.gz (3.0 kB)
e[36mINFOe[0m: pip is looking at multiple versions of base58 to determine which version is compatible with other requirements. This could take a while.
Downloading base58-0.2.5-py3-none-any.whl (4.1 kB)
Downloading base58-0.2.4-py3-none-any.whl (4.0 kB)
Downloading base58-0.2.3.tar.gz (2.2 kB)
Downloading base58-0.2.2.tar.gz (2.1 kB)
Downloading base58-0.2.1.tar.gz (2.1 kB)
e[36mINFOe[0m: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading base58-0.2.0.tar.gz (1.9 kB)
Downloading base58-0.1.1.tar.gz (1.8 kB)
Downloading base58-0.1.0.tar.gz (1.8 kB)
e[36mINFOe[0m: pip is looking at multiple versions of backcall to determine which version is compatible with other requirements. This could take a while.
Collecting backcall
Downloading backcall-0.1.0.zip (11 kB)
e[36mINFOe[0m: pip is looking at multiple versions of astor to determine which version is compatible with other requirements. This could take a while.
Collecting astor
Downloading astor-0.8.0-py2.py3-none-any.whl (27 kB)
Downloading astor-0.7.1-py2.py3-none-any.whl (27 kB)
Downloading astor-0.7.0-py2.py3-none-any.whl (27 kB)
e[36mINFOe[0m: pip is looking at multiple versions of backcall to determine which version is compatible with other requirements. This could take a while.
Downloading astor-0.6.2-py2.py3-none-any.whl (26 kB)
Downloading astor-0.6.1-py2.py3-none-any.whl (26 kB)
Downloading astor-0.6-py2.py3-none-any.whl (26 kB)
e[36mINFOe[0m: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading astor-0.5-py2.py3-none-any.whl (12 kB)
e[36mINFOe[0m: pip is looking at multiple versions of astor to determine which version is compatible with other requirements. This could take a while.
Downloading astor-0.4.1-py2.py3-none-any.whl (12 kB)
Downloading astor-0.4-py2.py3-none-any.whl (13 kB)
Downloading astor-0.3.tar.gz (10 kB)
Downloading astor-0.2.1.tar.gz (10 kB)
Downloading astor-0.2.tar.gz (9.6 kB)
e[36mINFOe[0m: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading astor-0.1.tar.gz (8.9 kB)
e[36mINFOe[0m: pip is looking at multiple versions of cffi to determine which version is compatible with other requirements. This could take a while.
Collecting cffi>=1.0.1
Downloading cffi-1.14.6-cp39-cp39-manylinux1_x86_64.whl (405 kB)
Downloading cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl (406 kB)
Downloading cffi-1.14.4-cp39-cp39-manylinux1_x86_64.whl (405 kB)
Downloading cffi-1.14.3-cp39-cp39-manylinux1_x86_64.whl (405 kB)
Downloading cffi-1.14.2.tar.gz (470 kB)
Downloading cffi-1.14.1.tar.gz (468 kB)
Downloading cffi-1.14.0.tar.gz (463 kB)
e[36mINFOe[0m: pip is looking at multiple versions of cffi to determine which version is compatible with other requirements. This could take a while.
Downloading cffi-1.13.2.tar.gz (460 kB)
Downloading cffi-1.13.1.tar.gz (460 kB)
Downloading cffi-1.13.0.tar.gz (459 kB)
Downloading cffi-1.12.3.tar.gz (456 kB)
Downloading cffi-1.12.2.tar.gz (453 kB)
e[36mINFOe[0m: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading cffi-1.12.1.tar.gz (453 kB)
Downloading cffi-1.12.0.tar.gz (453 kB)
Downloading cffi-1.11.5.tar.gz (438 kB)
Downloading cffi-1.11.4.tar.gz (436 kB)
Downloading cffi-1.11.3.tar.gz (436 kB)
Downloading cffi-1.11.2.tar.gz (435 kB)
Downloading cffi-1.11.1.tar.gz (435 kB)
Downloading cffi-1.11.0.tar.gz (434 kB)
Downloading cffi-1.10.0.tar.gz (418 kB)
Downloading cffi-1.9.1.tar.gz (407 kB)
Downloading cffi-1.9.0.tar.gz (407 kB)
Downloading cffi-1.8.3.tar.gz (403 kB)
Downloading cffi-1.8.2.tar.gz (403 kB)
Downloading cffi-1.7.0.tar.gz (400 kB)
Downloading cffi-1.6.0.tar.gz (397 kB)
Downloading cffi-1.5.2.tar.gz (388 kB)
Downloading cffi-1.5.1.tar.gz (388 kB)
Downloading cffi-1.5.0.tar.gz (385 kB)
Downloading cffi-1.4.2.tar.gz (365 kB)
Downloading cffi-1.4.1.tar.gz (365 kB)
Downloading cffi-1.4.0.tar.gz (365 kB)
Downloading cffi-1.3.1.tar.gz (351 kB)
Downloading cffi-1.3.0.tar.gz (347 kB)
Downloading cffi-1.2.1.tar.gz (335 kB)
Downloading cffi-1.2.0-1.tar.gz (335 kB)
e[35mWARNINGe[0m: Discarding https://files.pythonhosted.org/packages/ff/6d/9f5004f4619e64e25785029d3fab9807eddc780e194ba323ecd4007fa8c5/cffi-1.2.0-1.tar.gz#sha256=9b9c2b964fd88ddbf99ea8fff65c56264c8866b77050fd53f0159e53c98c27e0 (from Links for cffi). Requested cffi>=1.0.1 from https://files.pythonhosted.org/packages/ff/6d/9f5004f4619e64e25785029d3fab9807eddc780e194ba323ecd4007fa8c5/cffi-1.2.0-1.tar.gz#sha256=9b9c2b964fd88ddbf99ea8fff65c56264c8866b77050fd53f0159e53c98c27e0 (from argon2-cffi-bindings->argon2-cffi->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit==1.3.1->-r /app/substitute-recommender/requirements.txt (line 1)) has inconsistent version: filename has ‘1.2.0.post1’, but metadata has ‘1.2.0’
Downloading cffi-1.1.2.tar.gz (326 kB)
Downloading cffi-1.1.1.tar.gz (326 kB)
Downloading cffi-1.1.0.tar.gz (323 kB)
Downloading cffi-1.0.3.tar.gz (317 kB)
Downloading cffi-1.0.2-2.tar.gz (317 kB)
e[35mWARNINGe[0m: Discarding https://files.pythonhosted.org/packages/ef/23/c6f7003ebb7b4b3fe4872f112b18ee181a3ec2b137e964093a8b35d4a5bd/cffi-1.0.2-2.tar.gz#sha256=6dc6ae05816e44c71094049321403fda1013013d68506f30914a59683a47fd32 (from Links for cffi). Requested cffi>=1.0.1 from https://files.pythonhosted.org/packages/ef/23/c6f7003ebb7b4b3fe4872f112b18ee181a3ec2b137e964093a8b35d4a5bd/cffi-1.0.2-2.tar.gz#sha256=6dc6ae05816e44c71094049321403fda1013013d68506f30914a59683a47fd32 (from argon2-cffi-bindings->argon2-cffi->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit==1.3.1->-r /app/substitute-recommender/requirements.txt (line 1)) has inconsistent version: filename has ‘1.0.2.post2’, but metadata has ‘1.0.2’
Downloading cffi-1.0.1.tar.gz (316 kB)
e[36mINFOe[0m: pip is looking at multiple versions of argon2-cffi-bindings to determine which version is compatible with other requirements. This could take a while.
Collecting argon2-cffi-bindings
Downloading argon2_cffi_bindings-21.1.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (85 kB)
Collecting cffi>=1.0.0
Downloading cffi-1.0.0.tar.gz (315 kB)
e[36mINFOe[0m: pip is looking at multiple versions of argon2-cffi to determine which version is compatible with other requirements. This could take a while.
Collecting argon2-cffi
Downloading argon2_cffi-21.2.0-py3-none-any.whl (14 kB)
Downloading argon2_cffi-21.1.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (96 kB)
e[32m[manager] e[0mPython dependencies were installed from /app/substitute-recommender/requirements.txt using pip.
e[32m[manager] e[0mProcessed dependencies!
2022-02-04 09:03:10.242 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/script_runner.py”, line 379, in _run_script
exec(code, module.dict)
File “/app/substitute-recommender/streamlit_app.py”, line 5, in
import google.auth
ModuleNotFoundError: No module named ‘google.auth’

Downloading argon2_cffi-20.1.0-cp35-abi3-manylinux1_x86_64.whl (97 kB)
Downloading argon2_cffi-19.2.0-cp34-abi3-manylinux1_x86_64.whl (95 kB)
Downloading argon2_cffi-19.1.0-cp34-abi3-manylinux1_x86_64.whl (93 kB)
Downloading argon2_cffi-18.3.0-cp34-abi3-manylinux1_x86_64.whl (93 kB)
Downloading argon2_cffi-18.2.0-cp34-abi3-manylinux1_x86_64.whl (93 kB)
e[36mINFOe[0m: pip is looking at multiple versions of argon2-cffi to determine which version is compatible with other requirements. This could take a while.
Downloading argon2_cffi-18.1.0.tar.gz (1.8 MB)
Downloading argon2_cffi-16.3.0.tar.gz (1.5 MB)
Downloading argon2_cffi-16.2.0.tar.gz (1.2 MB)
Downloading argon2_cffi-16.1.0.tar.gz (1.2 MB)
Downloading argon2_cffi-16.0.0.tar.gz (822 kB)
e[36mINFOe[0m: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading argon2_cffi-15.0.1.tar.gz (818 kB)
Downloading argon2_cffi-15.0.0.tar.gz (818 kB)
e[36mINFOe[0m: pip is looking at multiple versions of terminado to determine which version is compatible with other requirements. This could take a while.
Collecting terminado>=0.8.3
Downloading terminado-0.12.1-py3-none-any.whl (15 kB)
e[36mINFOe[0m: pip is looking at multiple versions of argon2-cffi-bindings to determine which version is compatible with other requirements. This could take a while.
2022-02-04 12:31:37.728 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/script_runner.py”, line 379, in _run_script
exec(code, module.dict)
File “/app/substitute-recommender/streamlit_app.py”, line 5, in
import google.auth
ModuleNotFoundError: No module named ‘google.auth’

Best regards,
Nico

1 Like

Hi @nflaig -

Can you provide a link to the repo?

Best,
Randy

Hi @randyzwitch,

thanks for the response. I resolved the issue by upgrading from streamlit 1.3.1 to 1.5.0 but I am not really sure why it works now.

Best regards,
Nico

I would guess the action of pushing a update restarted the container, and it’s just a coincidence that it was because you updated Streamlit.

@randyzwitch I rebooted and also deleted/reinstalled the app at least 10 times, so it is rather unlikely, but I guess it could be possible

Edit: maybe also a coincidence looks like the same update of streamlit to version 1.5.0 resolved the issue in this post

Maybe one other thing to mention is that I was using SessionState.py (source) which does not work with streamlit version 1.5.0, see comment. So maybe it is somehow related to that?

Also there is another forum post I created which is also related to session state but also query parameters.

As I mentioned in this comment query parameters are also suddenly broken on streamlit cloud, so my assumption is there were some major changes on your side in last 1-2 weeks.

I don’t have many insights on how the deployment in streamlit cloud actually works but it is really obvious is that you are doing some things which are different then just running the app locally with streamlit run. The query parameter issue mentioned in my other post is an perfect example for this where the app works as expected locally but for some reason does not work in streamlit cloud and it is impossible to debug why…

Yes, Streamlit does not support that gist, as it’s a workaround functionality as opposed to the official session state solution built into the Streamlit library.

Yes and no. The difference is that locally, the Streamlit app has direct access to your computer and on Streamlit Cloud its running in a container environment. So Streamlit Cloud is a front-end to access these containers, so some things will be different.

But from a conceptual standpoint, we don’t have a separate version of the Streamlit python package running on Streamlit Cloud; we can’t, because users can specify their own version of Streamlit in their requirements.txt file and it will download from PyPI.

Best,
Randy

The workaround worked perfectly fine with streamlit 1.3.1, I had some issues with the built-in session state that’s why I was switching to the workaround, see comment

The approach you described sounds like the proper solution, but that still does not explain the strange behavior I observed in the last 1-2 weeks. Maybe a devops/backend engineer from your side could provide more insights or maybe you have to check with them what kind of changes were done recently. There were definitly some major changes that broke tons of applications hosted in streamlit cloud.

Best regards,
Nico

The issue about why the unsupported session state broke in 1.5 is lines like these:

According to our engineers, all of the ReportContext stuff was considered an internal API, it was not expected that end-users were actually using that. In that sense, they introduced a bug by removing that API.

In terms of Streamlit Cloud, changes are deployed every day, but the one that is assumed to have the most impact was updating pip to a newer version. The issue this caused is that the pip solver can get into an endless loop trying to resolve dependencies. This was patched Saturday to roll back pip to the earlier version we were using.

1 Like

That makes sense and this definitly explains why installation was stuck. Thanks for the explanation :+1:

Also one other thing I noticed just appeared in the last 1-2 weeks is the timestamp query parameter. Where is this coming from, some kind of ingress gateway or load balancer is setting that?

@nflaig feel free to ignore the timestamp parameter. It is is set by the client at the moment, but we plan to remove it. We used it to force invalidate some client side caches.

Thanks for the clarification. But what is still unclear to me is why query paramaters stopped working, see this post. The code of the project is also available on GitHub st-query-params-test, maybe an engineer from your side can understand the issue.

Best regards,
Nico

Got it! I’ll forward the issue :slight_smile:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.