News for hackers. Stuff that matters.
Re:Rye and Uv: August Is Harvest Season for Python Packaging by drawnwren on Thursday August 22, 2024 @04:51PM (#41324296)
Nix calls them "derivations", but yeah you're right again. Lots of weird language in this space.

Specifically, we use this nix project [1] which provides a nice translation layer between a poetry project and a nix derivation. It allows our devs to use poetry where they want (with local relative paths in the pyproject.toml) and ci/cd to have more granular control of deps at build time.

There are some corner cases. As you correctly guessed, some more obscure python libraries might require a few extra lines (i.e. to specify that this package needs setuptools etc). of code.

1 - https://github.com/nix-community/poetry2nix

There are no comments on this comment yet.