Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Preparing for the great snakes migration by Hea...
Search
Pycon ZA
October 09, 2020
Programming
120
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
Transcript
6 slides
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!
More Decks by Pycon ZA
See All by Pycon ZA
Trio: Structured Concurrency for Python by Jeremy Thurgood
pyconza
0
300
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
200
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
150
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
220
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
370
Making Art with Python by Kirk Kaiser
pyconza
0
290
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
190
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
360
"Building a simple Telegram bot using Python, Flask and Heroku" by Billy Einkamerer
pyconza
0
240
Other Decks in Programming
See All in Programming
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
1
120
Spec-driven Development with AI
simas
PRO
0
2.3k
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
660
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
SODA - FACT BOOK(EN)
sodainc
1
280
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
はじめてのKubernetesコントリビューション
nasa9084
0
320
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.2k
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
2
270
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
0
210
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
30 Presentation Tips
portentint
PRO
1
480
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
410
Paper Plane
katiecoart
PRO
6
55k
My Coaching Mixtape
mlcsv
0
390
Building Adaptive Systems
keathley
44
3.3k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Test your architecture with Archunit
thirion
2
2.5k