Poetry's dependency resolver and its environment-independent lockfile
10-27, 18:05–18:10 (Europe/Berlin), Main stage

Poetry is a quite popular tool for dependency management and packaging of Python projects. A prominent feature of Poetry is the generation of an environment-independent lockfile. This means that it does not matter if the lockfile has been created on Linux or Windows, with Python 3.8 or Python 3.11 and so on, it will be the same and suitable for each possible environment.


In this talk I want to present some of the challenges in implementing a dependency resolver that does not only try to find a solution for the current environment but for all possible environments. I will focus on how Poetry handles packages that define multiple constraints with different environment markers for a dependency.

In my spare time, I have been one of the Poetry maintainers since spring 2022.

At my day job, I am a software developer at TraceTronic, working on a large multiplatform Python application.