Want to create an interactive transcript for this episode?
Podcast: Chaos Computer Club - recent events feed
Episode: Python packaging with nixpkgs, pyproject.nix & uv2nix (nixcon2025)
Description: There is a broad range of possibilities when packaging Python with Nix.
The amount of Python formats alone can be overwhelming: requirements.txt, setup.py & pyproject.toml, not to mention Conda!
This talk aims to explain Python packaging with Nix, focusing on pyproject.nix & uv2nix, but I will also talk about other approaches and their trade-offs.
We'll start off with a short primer on the different Python packaging formats & methods while explaining a few of the things that make Python packaging particularly murky & difficult.
Then we'll go through a range of Nix packaging possibilities, starting with using plain nixpkgs...