Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Preparing for the great snakes migration by Heather Williams
Pycon ZA
October 09, 2020
Programming
0
24
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
100
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
72
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
39
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
63
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
170
Making Art with Python by Kirk Kaiser
pyconza
0
110
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
47
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
110
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
77
Other Decks in Programming
See All in Programming
7つの入金外部サービスと連携して分かった実践的な”状態管理”設計パターン3選
shoheimitani
0
120
setuptoolsの最近
aodag
0
570
新規モバイルアプリを React Native for Web で Web 対応した話
kazunobukawane
1
780
MyFirstDBDefinition
maimux2x
0
140
Nios®V/mでオープンソースRTOSを動かす / NiosVM seminar RTOS 20220921
fixstars
0
180
20221006-josys-seminar
yutakawasaki0911
0
120
移りゆくデファクトスタンダードにチームとしてどう追従するか
tkmasuda
0
2k
AWS X-Ray SDK for Python を使ってトレーサビリティを向上してみよう/start-aws-xray-and-xray-sdk-for-python
hassaku63
0
340
Control Theory and Concurrent Garbage Collection: A Deep Dive Into The Go GC Pacer
madhavjivrajani
0
410
Pythonで公的統計APIのオープンデータ活用(PyConJP2022)
welliving
0
1.2k
Transformation
hschwentner
0
110
Evolving a serverless startup architecture - ArmadaJS 2022
slobodan
1
200
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
59
5.5k
Done Done
chrislema
175
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
37
3.4k
Faster Mobile Websites
deanohume
294
29k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
238
19k
A designer walks into a library…
pauljervisheath
197
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
Ruby is Unlike a Banana
tanoku
91
9.4k
Build The Right Thing And Hit Your Dates
maggiecrowley
21
1.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
236
1.1M
Fireside Chat
paigeccino
15
1.6k
Making the Leap to Tech Lead
cromwellryan
114
7.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!