~/talk

Managing Dependencies in Python with Poetry

Talkat PyCon Philippines 2023 · 2023-02-25..02-26· [python]
slides:none on file

Demo shows Poetry replaces the virtualenv + pyenv + pip dance: it creates per‑project venvs, writes pyproject.toml and a lockfile, poetry add/remove/export resolves versions and removes transitive deps that are no longer needed, and reproduces installs with the lockfile. A sample project runs on Python 3.9 while the host is 3.11, a packaged wheel is built and successfully published to PyPI, and dependency trees are inspected with poetry show instead of manual pip freeze. poetry publish to PyPI works.

AI-written summary · about

  1. 0:00Managing Python dependencies
  2. 1:07What dependencies are
  3. 9:18Dependency management concepts
  4. 16:09Old way with pip
  5. 22:39Limitations of traditional tools
  6. 26:13Introducing Poetry
  7. 27:01New project with Poetry
  8. 31:32Adding packages with Poetry
  9. 36:16Poetry advantages
  10. 36:56Publishing packages with Poetry
  11. 43:02Python Users Group Cebu
  12. 44:06Q&A on trends
  13. 46:35Poetry learning resources
  14. 47:37Fixing Poetry lock files
  15. 49:27Final Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.