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
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Preparing for the great snakes migration by Heather Williams
A Lightning Talk at PyCon ZA 2020
Pycon ZA
October 09, 2020
More Decks by Pycon ZA
See All by Pycon ZA
Trio: Structured Concurrency for Python by Jeremy Thurgood
pyconza
0
270
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
190
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
140
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
190
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
350
Making Art with Python by Kirk Kaiser
pyconza
0
250
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
170
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
340
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
230
Other Decks in Programming
See All in Programming
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
5
500
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
130
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
560
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
170
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
220
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
5k
プロポーザルを書いてもらう
pvcresin
0
570
メールのエイリアス機能を履き違えない
isshinfunada
0
250
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
170
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
490
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
250
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
350
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
1
10k
Exploring anti-patterns in Rails
aemeredith
3
470
AI: The stuff that nobody shows you
jnunemaker
PRO
9
930
Amusing Abliteration
ianozsvald
1
260
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Statistics for Hackers
jakevdp
799
230k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
270
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
480
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
KATA
mclloyd
PRO
35
15k
A designer walks into a library…
pauljervisheath
211
24k
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!