Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How We Migrated 3.8 Million Lines of Python 2 Without Interrupting Development

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to migrate a large-scale Python 2 codebase to Python 3 without disrupting ongoing development in this PyCon US talk. Discover the tools, techniques, and patterns used to successfully port 3.8 million lines of code while minimizing regressions. Explore the step-by-step migration process, including the use of pre-commit hooks, reverse proxy for granular webapp rollout, and the transition from pickle to JSON for caching. Gain insights into handling complex codebases, managing business-critical applications, and maintaining functional parity throughout the migration process.

Syllabus

Intro
Flow of a request
Architecture of yelp-main
More yelp-main stats
100 tests
Motivation and requirements
Phases and timeline
Tracking work
python-modernize
Interlude about tooling
Parsability
Importability
Functional parity: sort
Rollout
Outcomes
The Future

Taught by

PyCon US

Reviews

Start your review of How We Migrated 3.8 Million Lines of Python 2 Without Interrupting Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.