~/talk

Hatch: The only tool you need

Talkat PyCon US 2024 · 2024-05-15..05-23· [developer-experience]
name:Ofek Lev
links:none on file
slides:none on file

Hatch claims to replace the messy Python toolchain with one CLI that actually builds, tests, versions and publishes: it ships a hatchling build backend, migrates setuptools projects and produces wheels/sdists and binary bootstraps. Environments are first-class, supporting virtualenv/conda/docker, environments with matrices and inheritance, scripts as composable tasks, Ruff formatting and pytest-based testing, plugin versioning and a publish step that can replace twine. Workspaces and lockfiles are imminent and existing projects like Jupyter already use it.

AI-written summary · about

  1. 0:00Welcome to Hatch
  2. 1:06What Hatch is
  3. 2:36Hatch adoption
  4. 3:41Installing Hatch
  5. 4:25Hatchling build backend
  6. 5:51Hatchling targets
  7. 7:17Metadata hooks
  8. 8:00Build hooks
  9. 8:42Versioning and publishing
  10. 9:27Hatch environments
  11. 10:56Using Hatch environments
  12. 11:38Python versions and dependencies
  13. 12:44Environment options
  14. 13:06Hatch scripts
  15. 14:30Testing matrices
  16. 15:54Overriding matrix settings
  17. 16:59Testing with pytest
  18. 18:04Static analysis with Ruff
  19. 19:32Python versions with Hatch
  20. 20:17PEP 735 script metadata
  21. 21:00Future: workspaces
  22. 21:43Roadmap
  23. 22:27Q&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.