Preparing for the great snakes migration by Heather Williams

Preparing for the great snakes migration by Heather Williams

A Lightning Talk at PyCon ZA 2020


Pycon ZA

October 09, 2020


  1. Great snakes migration Upgrading from python 2 to python 3

    By Heather Williams
  2. The Problem • A large codebase • Around 3 000

    python files used to generate questions on a website • Monolith disguised as microservices
  3. Solution: Walled gardens • Make the monolith a true monolith

    • Identify the real microservices • Docker all the things • Walled garden around the python files for questions
  4. Solution: automate it Python 2to3 is a great tool

  5. Solution: requirements files • Remove unnecessary dependencies • Upgrade out

    of date dependencies • Note what needs python 3 to upgrade
  6. Great snakes migration Take the plunge and do it!