Poetry: "dependency management and packaging made easy"
summary
Shows how Poetry replaces setuptools + pip + twine by managing dependencies with pyproject.toml, freezing transitive versions in poetry.lock, scaffolding projects, creating a virtualenv and producing a wheel that builds locally. Uses real incidents: a breaking itsdangerous 1.0 dependency change caused auth failures, which motivates lock files. Demonstrates adding Flask or requests, building and not publishing to PyPI, and a CI workflow where the lock file is committed and Docker builds reference it to guarantee reproducible deployments.
AI-written summary · about
chapters (31)
- 0:00Intro
- 0:53About Me (Samuel Roeca)
- 3:13Problem at Kepler: authentication fubar
- 3:57Flask dependency
- 4:15Reason: itsdangerous 1.0
- 5:13About Sébastien Eustace
- 5:52Python stuff (simplified)
- 7:37History: dependency management packaging
- 11:07Poetry compared to ecosystem (simplified)
- 11:49Poetry interface: familiar
- 12:40Dependency management: a walk in the park
- 13:39Packaging an odyssey
- 13:54Warm-up: use a distributed package!
- 14:08Gametime: make a distributed package!
- 14:22Packaging considerations
- 14:33Packaging: PyPa tutorial 1. Manually create a project structure
- 14:49Manually write setup.py
- 15:02Build distribution with setuptools
- 15:25Use tool called twine to upload
- 15:38Study setuptools, twine, etc in spare time
- 15:49most people) Take the blue pill
- 16:00Packaging with Poetry!
- 16:17Project scaffolding
- 16:35Dependency management: add
- 16:50Edit software
- 17:04Build a distribution
- 17:25Dependency management: pyproject.toml
- 18:48Semantic Versioning ranges like Models
- 20:02Locked dependencies: poetry.lock
- 20:52Why Poetry, the Python project?
- 21:02Alternatives Poetry
