Question

App Platform: Python Poetry Support?

I set up a simple Flask app using App Platform and love how easy it was! As my project evolves, I want to manage the requirements in a more controlled fashion and prefer to use Poetry with a pyproject.toml file to do so. Is there any way to use App Platform with that instead of a requirements.txt file? If not, would this be anywhere on the roadmap for Python App Platform support?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey there!

We don’t currently support Poetry in app platform for the Python build-pack, but it could be added as our build-packs expand. Currently the Python build supports: requirements.txt, Pipfile and setup.py for app detection. However you may be able to use Poetry now by using a Dockerfile build rather then the Python build.