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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Pycon ZA
October 09, 2020
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Preparing for the great snakes migration by Heather Williams
A Lightning Talk at PyCon ZA 2020
Pycon ZA
October 09, 2020
More Decks by Pycon ZA
See All by Pycon ZA
Trio: Structured Concurrency for Python by Jeremy Thurgood
pyconza
0
270
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
190
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
140
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
190
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
350
Making Art with Python by Kirk Kaiser
pyconza
0
250
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
170
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
330
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
230
Other Decks in Programming
See All in Programming
Built Our Own Background Agent at LayerX #aidevex_findy
layerx
PRO
9
3.9k
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
1.5k
Foundation Models frameworkで画像分析
ryodeveloper
1
210
テーブルをDELETEした
yuzneri
0
130
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
370
yield再入門 #phpcon
o0h
PRO
0
850
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
1
260
FDEが実現するAI駆動経営の現在地
gonta
2
240
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
420
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
130
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
350
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
180
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.2k
BBQ
matthewcrist
89
10k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
The Language of Interfaces
destraynor
162
27k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
620
Tell your own story through comics
letsgokoyo
1
1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Become a Pro
speakerdeck
PRO
31
6k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
Raft: Consensus for Rubyists
vanstee
141
7.6k
Designing Powerful Visuals for Engaging Learning
tmiket
1
470
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
190
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!