Talk

What I learned migrating FastAPI & Friends to uv

Friday, May 29

12:35 - 13:05
RoomTortellini
LanguageEnglish
Audience levelBeginner
Elevator pitch

uv is awesome, stable, and we should probably all be using it. However, migrating real-world projects is a non-trivial task. In this talk, I’ll be sharing practical tips and tricks I learned while migrating all FastAPI & Friends libraries, as well as my own open-source libraries and projects, to uv.

Abstract

Last year, we knew that uv was fast. This year, we know it’s awesome, stable, and something we should probably all be using. However, real-world project setups are complex, migrations take time and effort, and getting started can feel daunting.

In this talk, I want to share tips and tricks I learned while migrating all FastAPI & Friends libraries (FastAPI, Typer, SQLModel, Typer, fastapi-new, fastpi-cli, fastapi-cloud-cli, annotated-doc), as well as my own open-source libraries and projects, to uv. By the end of the talk, the audience should have the confidence to migrate non-trivial projects based on requirements files or Poetry to uv.

I’ll be talking about preparing projects for migration, incremental migration, limitations of the uv build backend, how to preserve version constraints, porting CI workflows with multiple Python and library versions, and much more. I’ll be focusing on practical migration tips and paved paths, but also dip into challenges I had with some exotic FastAPI & Friends use cases.

TagsPackaging and Distribution, Applications and Libraries
Participant

Jonathan Marcel Ehwald

Software Engineer at FastAPI Labs, Core developer at Strawberry GraphQL, and part-time CEO at Squadnox. In my free time, I come up with riddles and treasure hunts to keep my roommates busy.