Deploying Poetry project on replit


How do I deploy a poetry project? Is there an example of configs that work for deploying poetry?

My .replit file is:

run = "python"

hidden = [".pythonlibs"]

channel = "stable-23_05"

run = ["sh", "-c", "python"]

And I have a replit.nix file that installs python 3.10. I also have a pyproject.toml, which gets detected and installed on replit. But I don’t think its being installed on deployment as it says some packages I have installed are not found.

How do I deploy a python poetry app on replit and properly install the packages?

Hey @sweep!

Have you tried deploying the project as it is? Do you see any logs or errors when the Deployment starts or is in the deployment phase?