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
79
"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
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
540
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
310
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
41
16k
読まないコードリーディング術
hisaju
0
100
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.4k
Learning Kotlin with detekt
inouehi
1
140
Datadog DBMでなにができる? JDDUG Meetup#7
nealle
0
150
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
160
AIプログラミング雑キャッチアップ
yuheinakasaka
19
4.7k
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
710
もう僕は OpenAPI を書きたくない
sgash708
6
1.9k
Jakarta EE meets AI
ivargrimstad
0
450
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
380
Practical Orchestrator
shlominoach
186
10k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Faster Mobile Websites
deanohume
306
31k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
Git: the NoSQL Database
bkeepers
PRO
427
65k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
How GitHub (no longer) Works
holman
314
140k
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!