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
85
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
220
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
110
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
150
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
310
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
140
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
280
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
190
Other Decks in Programming
See All in Programming
Swift Concurrency 年表クイズ
omochi
3
230
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
440
Verilator + Rust + gRPC と Efinix の RISC-V でAIアクセラレータをAIで作ってる話 RTLを語る会(18) 2025/11/08
ryuz88
0
360
Private APIの呼び出し方
kishikawakatsumi
3
880
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
1.7k
詳細の決定を遅らせつつ実装を早くする
shimabox
1
1.2k
イベントストーミングのはじめかた / Getting Started with Event Storming
nrslib
1
520
なぜ強調表示できず ** が表示されるのか — Perlで始まったMarkdownの歴史と日本語文書における課題
kwahiro
12
6k
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.1k
Dive into Triton Internals
appleparan
0
490
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
160
Featured
See All Featured
BBQ
matthewcrist
89
9.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
Automating Front-end Workflow
addyosmani
1371
200k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
It's Worth the Effort
3n
187
28k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Building Applications with DynamoDB
mza
96
6.8k
Gamification - CAS2011
davidbonilla
81
5.5k
Into the Great Unknown - MozCon
thekraken
40
2.2k
A better future with KSS
kneath
239
18k
Balancing Empowerment & Direction
lara
5
750
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
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!