Does Poetry Support Python Standards for Dependency Management?
by Tim Hopper
Until version 2.0, Poetry maintained its own configuration format in tool.poetry. This approach reflected both Poetry’s established user base and its feature set that extended beyond standard packaging needs. Poetry 2.0’s adoption of the project section for pyproject.toml files marked a shift toward ecosystem-wide standardization.
Poetry now supports dual configuration approaches:
Poetry maintains its tool.poetry.dependencies section for advanced features while supporting standard project.dependencies declarations. Users can choose based on their needs:
- Use
project.dependenciesfor standard Python dependency declarations - Use
tool.poetry.dependenciesfor Poetry-specific features - Combine both approaches when needed
The move toward Python standards provides several advantages:
- Project Portability: Easier migration between different build tools
- Future Compatibility: Better alignment with emerging packaging standards
- Simplified Learning: Standard patterns work across tools
Related Handbook Pages
Learn More
Get Python tooling updates
Subscribe to the newsletterLast updated on
Why Doesn't the Authoritative Python Packaging Guide Mention the Best Thing that's Happened to Python Packaging?How do mypy, pyright, and ty compare?