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 Heather Williams
Search
Pycon ZA
October 09, 2020
Programming
0
50
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
140
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
100
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
63
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
110
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
250
Making Art with Python by Kirk Kaiser
pyconza
0
150
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
90
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
200
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
140
Other Decks in Programming
See All in Programming
MIERUNE BBQにおけるユーザー中心設計()
mierune
PRO
1
110
開発部に不満を持っていたCSがエンジニアにジョブチェンしてわかった「勝手に諦めない」ことの大切さ
sakuraikotone
28
16k
CSC307 Lecture 06
javiergs
PRO
0
360
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
AWS初心者ってどうやってAWSを学ぶ?〜アプリエンジニアがやってよかったアーキテクチャ学習方法〜
yamanashi_ren01
0
190
最近追加した型の紹介とその振り返り
aki19035vc
0
180
유연한 Composable 설계
l2hyunwoo
0
380
CSC307 Lecture 09
javiergs
PRO
1
500
How to use Macrobenchmark
veronikapj
0
160
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
大規模マルチテナントを解決するYugabyteDBという選択肢
nnaka2992
1
250
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
248
12k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
Happy Clients
brianwarren
94
6.6k
Teambox: Starting and Learning
jrom
130
8.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Done Done
chrislema
179
15k
YesSQL, Process and Tooling at Scale
rocio
166
14k
Web development in the modern age
philhawksworth
203
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
13
430
Art, The Web, and Tiny UX
lynnandtonic
291
20k
The Illustrated Children's Guide to Kubernetes
chrisshort
39
47k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
325
21k
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!