Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/how-dialpad-migrated-its-python-ai-development-from-pip-to-poetry.md

Platform Engineering

How Dialpad Migrated Its Python AI Development from Pip to Poetry

Kevin James Kevin James is a staff engineer and tech lead for the AI Engineering team at Dialpad. When not finding exciting new ways to (ab)use kubernetes in solving his team's problems, he enjoys experimenting in the kitchen, at the cocktail counter, or with an instrument.

The New Stack06 Oct 2021 · summary

article --summary

The summary

It was a dark and stormy day indeed when, by a stroke of luck, our intrepid heroes stumbled across an entry in the pip changelog: Maintainers are preparing to release pip 20.3, with the new resolver on by default. Confusion and curiosity struck their hearts! We use tools like Renovate to ensure we don’t need to micromanage updates to our dependencies, pre-commit to run an ever-growing litany of linters, and CircleCI to automatically run those linters, tests, and everything involved with the continuous delivery of our code; we build applications and libraries (and scripts which act somewhere in between!), run our code on Knative and Kubernetes and some serverless platforms, write code in Python which can interface with our other code in C++, Elixir, Java, … Since the AI teams have a number of codebases spread across several teams with varying levels of complexity and importance to our users, it was important to carefully plan how to make our changes. It was most important to get these issues solved first for our most important systems in case our timeline estimate was wildly off and the pip-ageddon happened before we were ready.

Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.