kraken-build / kraken

The Kraken build system.
https://kraken-build.github.io/kraken/
28 stars 12 forks source link

kraken-build/: feature: Add a `PexBuildTask` and add support for most Python tooling tasks to defer to an alternative binary (which the DAG builder can use to point to a PEX) #161

Closed NiklasRosenstein closed 10 months ago

NiklasRosenstein commented 10 months ago

Using separate PEX binaries (or isolated environments) for these Python tools has several advantages:

There's one potential disadvantage for Python projects using Nix however, because these tools would eventually no longer be listed in a Project's poetry.lock or pdm.lock file. This will require building additional Nix logic that pulls in these dependencies from nixpkgs directly.