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
65
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
コードを読んで理解するko build
bells17
1
110
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
950
Better Code Design in PHP
afilina
0
180
自力でTTSモデルを作った話
zgock999
0
120
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.7k
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
160
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
170
sappoRo.R #12 初心者セッション
kosugitti
0
280
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.2k
.NET Frameworkでも汎用ホストが使いたい!
tomokusaba
0
200
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
400
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.4k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Cult of Friendly URLs
andyhume
78
6.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Scaling GitHub
holman
459
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
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!