Still running Python 2 code in production is like steering a ship without radar in thick fog: You don’t know, which obstacle you will hit next. But there are ways to see the sun again – even for large code bases. This presentation contains a discussion of the possible ways and a success story.
I have been giving the presentation at
- Python Web Conference 2020 and
- EuroPython 2020.
If you did not manage to see the presentation at one of these conferences, you will find now:
Maybe this helps you with your next migration project to the Python 3 wonderland. If you have questions – we are here to help with such migration projects.
How to successfully migrate a Python 2 project to Python 3.
Still running Python 2 code in production is like steering a ship without radar in thick fog: You don’t know, which obstacle you will hit next. But there are ways to see the sun again even for large code bases.
I am Michael Howitz and I am going to present a talk at Python Web Conf 2020 on this topic.
In this talk I will show possible approaches for a Python 3 migration of existing Python code running on Python 2.7. I will evaluate which of these approaches seems suitable for a large code base and which principles should be paid attention to to increase the probability of a successful migration project.
I am going use union.cms (a content management system used by German trade unions) to show the story of a successful migration of a project with nearly one million lines of Python code. The story will include the obstacles we encountered and what we learned on the way.
I believe that most of the discussed ideas in the talk and experience can also be used unchanged in smaller projects as the presented principles are very much the same.
The talk is scheduled at 1:00 – 1:45 pm ET (UTC -4h) on Friday, June 19th. (That’s 7:00 pm in MEST (UTC+2)).
To see the talk live on your device, join Python Web Conf 2020 now.