hello!
i’m new. i just tried to deploy my first app and was swiftly reminded that both poetry and pdm use a pyproject.toml
file for project metadata, and the console log seems to suggest that it’s automatically assuming poetry and being upset when my TOML file doesnt have a [tool.poetry] block.
here’s the full log. any ideas about most advisable next steps? thanks!
─── ─── ───
[05:55:38] Provisioning machine…
[05:55:38] Preparing system…
[05:55:38] Spinning up manager process…
[05:55:46] Starting up repository: ‘gradientlab’, branch: ‘main’, main module: ‘main.py’
[05:55:46] Cloning repository…
[05:55:46] Cloning into ‘/mount/src/gradientlab’…
[05:55:46] Cloned repository!
[05:55:46] Pulling code changes from Github…
[05:55:46] Processing dependencies…
─────────────────────────────────────── poetry ─────────────────────────────────────────
/mount/src/gradientlab /mount/src/gradientlab
[tool.poetry] section not found in /mount/src/gradientlab/pyproject.toml
/mount/src/gradientlab
─── ─── ───
[05:55:48] installer returned a non-zero exit code
[05:55:48] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[05:57:26] Streamlit server consistently failed status checks
[05:57:26] Please fix the errors, push an update to the git repo, or reboot the app.