Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Preparing for the great snakes migration by Hea...
Search
Pycon ZA
October 09, 2020
Programming
0
53
Preparing for the great snakes migration by Heather Williams
A Lightning Talk at PyCon ZA 2020
Pycon ZA
October 09, 2020
Tweet
Share
More Decks by Pycon ZA
See All by Pycon ZA
Trio: Structured Concurrency for Python by Jeremy Thurgood
pyconza
0
150
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
110
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
66
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
110
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
260
Making Art with Python by Kirk Kaiser
pyconza
0
160
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
99
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
210
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
150
Other Decks in Programming
See All in Programming
What is Parser
yui_knk
9
4.1k
Kotlin 2.0が与えるAndroid開発の進化
masayukisuda
1
370
Go Code Generation at newmo / 2024-08-27 #newmo_layerx_go
genkey6
0
560
o1モデルのプロンプトエンジニアリングって?
ktc_wada
0
180
React + TextAliveでカッコいいLyric Applicatioinを作ろう!!
tosuri13
0
400
Desafios e Lições Aprendidas na Migração de Monólitos para Microsserviços em Java
jessilyneh
2
150
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
990
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
Increased Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
330
Crafting Cross-Platform Adventures: Building a Game Engine with Kotlin Multiplatform
dwursteisen
0
100
マルチモジュールにおけるテスト最適化
fxwx23
0
210
Rubyのobject_id
qnighy
6
1.3k
Featured
See All Featured
The Invisible Side of Design
smashingmag
295
50k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
The Language of Interfaces
destraynor
153
23k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
Typedesign – Prime Four
hannesfritz
39
2.3k
In The Pink: A Labor of Love
frogandcode
139
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
Unsuck your backbone
ammeep
667
57k
Transcript
Great snakes migration Upgrading from python 2 to python 3
By Heather Williams
The Problem • A large codebase • Around 3 000
python files used to generate questions on a website • Monolith disguised as microservices
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
Solution: automate it Python 2to3 is a great tool https://docs.python.org/3.0/library/2to3.html
Solution: requirements files • Remove unnecessary dependencies • Upgrade out
of date dependencies • Note what needs python 3 to upgrade
Great snakes migration Take the plunge and do it!