~/talk

Keeping up with Python: what makes upgrades hard, and what can we do about it

Talkat PyCon US 2025 · 2025-05-16..05-18· [python, developer-experience]
slides:none on file

cPython upgrades are hard because syntax and stdlib changes, C API breakages in compiled extensions, and third‑party API churn collide at monorepo scale, making small incompatibilities multiply; Meta reports CPU and memory wins after upgrades across 3,000 Python developers. Concrete remedies include writing and testing libCST code‑mods, running pyupgrade, enforcing warnings with PYTHONWARNINGS=once, avoiding underscored internals, offering LTS releases, regenerating Syon/C sources in builds, and using automation plus focused unit tests to catch regressions.

AI-written summary · about

  1. 0:00Introduction to Python Upgrades
  2. 1:39The Monorepo Environment
  3. 2:55Why Python Upgrades are Hard
  4. 4:22Handling API and Dependency Changes
  5. 5:31The Importance of Warnings
  6. 7:07Automation and Codemods
  7. 9:34Best Practices for Code Hygiene
  8. 15:11Third-Party Package Management
  9. 20:31Conclusion and Q&A
  10. 21:02Deep Dive 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.