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
81
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
210
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
150
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
100
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
140
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
300
Making Art with Python by Kirk Kaiser
pyconza
0
210
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
130
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
270
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
180
Other Decks in Programming
See All in Programming
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
390
CSC509 Lecture 01
javiergs
PRO
1
430
フロントエンド開発に役立つクライアントプログラム共通のノウハウ / Universal client-side programming best practices for frontend development
nrslib
7
3.9k
Let's Write a Train Tracking Algorithm
twocentstudios
0
220
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
520
Web技術を最大限活用してRAW画像を現像する / Developing RAW Images on the Web
ssssota
2
1.2k
Model Pollution
hschwentner
1
180
SpecKitでどこまでできる? コストはどれくらい?
leveragestech
0
510
Catch Up: Go Style Guide Update
andpad
0
170
Playwrightはどのようにクロスブラウザをサポートしているのか
yotahada3
7
2.3k
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
3k
CSC305 Lecture 03
javiergs
PRO
0
230
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Six Lessons from altMBA
skipperchong
28
4k
Side Projects
sachag
455
43k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Building an army of robots
kneath
306
46k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
960
Navigating Team Friction
lara
189
15k
Music & Morning Musume
bryan
46
6.8k
YesSQL, Process and Tooling at Scale
rocio
173
14k
4 Signs Your Business is Dying
shpigford
185
22k
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!