Conference Schedule

Track one or two? Eeenie, meenie, miney, moe…

log in to bookmark.

Taming dependencies with pip

A Talk presented by Carl Meyer


Thursday, September 8th 3:30 p.m.–4:10 p.m.




Dependency management sucks. Pip provides some options for making it suck a bit less, but not all of them are immediately obvious. This talk will cover a number of strategies for making your deployments faster and more reliable, and demonstrate how to implement them in practice.


Areas we'll cover:

- Easy wins: requirements files, version-pinning, virtualenv, PyPI mirrors.

- One single point of failure is bad, multiple single points of failure are worse: kick your PyPI addiction with find-links, bundling sdists, "vendoring", or your own package index. We'll go over how each of these looks in a real project, and the tradeoffs with each.

This talk will assume basic knowledge of pip and requirements files; we'll be covering intermediate and advanced usage.