Deploy app with Poetry and private dependencies

Hello there :slight_smile:

I’m running into an issue where i’m trying to deploy an app on Streamlit Cloud using a pyproject that refers a private package.

The pyproject part in question looks like this:

[tool.poetry.group.peer.dependencies]
dvc = { extras = ["s3"], version = "^3.27.0" }
text-xxx = { version = "2.0.0", source = "fury" }

When i try to deploy the app on Streamlit Cloud it doesn’t work because i don’t know how to give access to GemFury. So the text-xxx package is not found in the environment and the app deployment crashes.

Locally, i do this command: poetry config http-basic.fury <your deploy token> NOPASS

So ideally i would like to do the same when i deploy on Streamlit Cloud, executing the command before the poetry install and with the Gemfury token as a secret.

Any ideas on how to advance in this direction?

Thank you

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