~/talk

We Have Nearly One Million Lines of Python 2 Code in Production – and Now?

Talkat Python Web Conf 2020 · 2020-06-17..06-19· [python, software-architecture]
links:none on file
slides:none on file

A legacy German CMS called union.cms with nearly one million lines of Python 2 code is migrated to Python 3 using a five‑step plan: prep with tests (88% coverage), surgically remove dead code, update/replace dependencies, modernize source with python-modernize + six (avoid future), run pyland checks to catch Python-3-only semantic issues, fix tests, and convert the ZODB/pickle data in a weekend. Work happens across 19 monthly iterations, ~1.5 years; deployment succeeds after staged testing and a final coordinated removal of Python‑2 compatibility (pyupgrade + cleanup).

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Who am I
  3. 1:47Poll
  4. 4:04Discussion
  5. 4:36Business Case
  6. 5:21Dont Burn Money
  7. 7:27Dont Migrate
  8. 8:44Start Over
  9. 11:17Legacy
  10. 12:05Union CMS
  11. 14:35General Preparation
  12. 16:34Clean Up
  13. 18:15Dependencies
  14. 22:27Migration
  15. 32:02Time Schedule
  16. 35:37Tips Lessons Learned
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.