PyCon 2019 | Dependency Hell: A Library Author’s Guide

Speaker: Yanhui Li, Brian Quinlan


Python is known for its “”batteries included”” philosophy but no Python developer can live without the language’s rich library ecosystem. Unfortunately, as the number of libraries increases, so does the risk of cross-library incompatibilities, or “”dependency hell””.

Dependency hell arises when two libraries have mutually conflicting requirements. These can be very difficult for developers to diagnose and may not be fixable without avoiding certain libraries entirely.

After this talk, you – the library author – will have a practical set of simple best practices to follow that will allow you to build libraries that are compatible across the Python ecosystem.


Slides can be found at: and

Previous PyCon 2019 | A Guide To Software Engineering For Visually Impaired
Next PyCon 2019 | Network Analysis Made Simple