How We Migrated 3.8 Million Lines of Python 2 Without Interrupting Development
Offered By: PyCon US via YouTube
Course Description
Overview
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
Related Courses
Intro to Python for Brand New ProgrammersPyCon US via YouTube Comprehending Comprehensions
PyCon US via YouTube Data Analysis with SQLite and Python
PyCon US via YouTube Build a Production Ready GraphQL API Using Python
PyCon US via YouTube Web Development With A Python-backed Frontend - Featuring HTMX and Tailwind
PyCon US via YouTube