Moving Big Projects to Python 3
Discover strategies for transitioning large-scale Python projects from version 2 to 3 in this EuroPython Conference talk. Learn about the challenges of moving extensive codebases, including dealing with clever tricks, unsupported libraries, and data format issues. Explore the crucial process aspects of migration, such as preparing your codebase, gaining team buy-in, and maintaining Python 2 compatibility. Gain insights on fixing development processes, replacing old libraries, strengthening test suites, and utilizing tools like 2to3. Understand the importance of porting utilities, creating migration scripts, and conducting careful staging tests. Follow a step-by-step approach to successfully move your project to Python 3, including strategies for production deployment and post-migration code cleanup.