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
71
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
190
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
130
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
84
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
130
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
280
Making Art with Python by Kirk Kaiser
pyconza
0
190
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
120
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
250
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
170
Other Decks in Programming
See All in Programming
Day0 初心者向けワークショップ実践!ソフトウェアテストの第一歩
satohiroyuki
0
510
20250326_生成AIによる_レビュー承認システムの実現.pdf
takahiromatsui
17
6.1k
Vibe Codingをせずに Clineを使っている
watany
10
4.1k
WordPress Playground for Developers
iambherulal
0
120
データベースエンジニアの仕事を楽にする。PgAssistantの紹介
nnaka2992
9
4.4k
エンジニア未経験が最短で戦力になるためのTips
gokana
0
240
PsySHから紐解くREPLの仕組み
muno92
PRO
1
530
ノーコードツールの裏側につきまとう「20分岐」との戦い
oguemon
0
110
英語文法から学ぶ、クリーンな設計の秘訣
newnomad
1
280
Modern Angular:Renovation for Your Applications @angularDays 2025 Munich
manfredsteyer
PRO
0
160
地域ITコミュニティの活性化とAWSに移行してみた話
yuukis
0
180
Devin入門と最近のアップデートから見るDevinの進化 / Introduction to Devin and the Evolution of Devin as Seen in Recent Update
rkaga
9
4.2k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
45
14k
Gamification - CAS2011
davidbonilla
81
5.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Why Our Code Smells
bkeepers
PRO
336
57k
How GitHub (no longer) Works
holman
314
140k
Raft: Consensus for Rubyists
vanstee
137
6.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
12
1.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Producing Creativity
orderedlist
PRO
344
40k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
118
51k
Testing 201, or: Great Expectations
jmmastey
42
7.4k
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!