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
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
280
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
150
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
200
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
360
Making Art with Python by Kirk Kaiser
pyconza
0
270
"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
350
"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活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
120
XHTMLが残したもの
yosuke_furukawa
PRO
2
820
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
210
Webの地図
yosuke_furukawa
PRO
6
4.6k
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
280
新卒PdEのリアル
ryu1013
1
500
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
150
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
250
Intent as Code
shoppingjaws
6
1k
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
500
スマート反転とウェブアクセシビリティ
camiha
0
210
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
120
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
550
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Designing for Performance
lara
611
70k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
500
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
エンジニアに許された特別な時間の終わり
watany
109
250k
Everyday Curiosity
cassininazir
0
320
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Six Lessons from altMBA
skipperchong
29
4.5k
From π to Pie charts
rasagy
1
370
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!