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
64
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
180
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
120
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
78
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
120
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
270
Making Art with Python by Kirk Kaiser
pyconza
0
180
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
110
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
240
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
160
Other Decks in Programming
See All in Programming
Amazon Bedrock Multi Agentsを試してきた
tm2
1
290
『品質』という言葉が嫌いな理由
korimu
0
160
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
0
200
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
520
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
4
590
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
730
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
120
昭和の職場からアジャイルの世界へ
kumagoro95
1
380
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
130
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
750
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
Open source software: how to live long and go far
gaelvaroquaux
0
640
Featured
See All Featured
Done Done
chrislema
182
16k
Why Our Code Smells
bkeepers
PRO
336
57k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Gamification - CAS2011
davidbonilla
80
5.1k
Optimizing for Happiness
mojombo
376
70k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
The Cult of Friendly URLs
andyhume
78
6.2k
A Philosophy of Restraint
colly
203
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Unsuck your backbone
ammeep
669
57k
RailsConf 2023
tenderlove
29
1k
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!