feat: uv lock rule instead of genrule by aignas · Pull Request #2657 · bazel-contrib/rules_python
aignas
changed the title
uv lock rule instead of genrule
feat: uv lock rule instead of genrule
aignas
marked this pull request as ready for review
This change implements the uv pip compile as a rule. In order to also make things easier to debug we provide a runnable rule that has the same arguments and updates the source tree output file automatically. The main design is to have a regular lock rule and then it returns a custom provider that has all of the recipe ingredients to construct an executable rule. The execution depends on having bash or powershell, however the powershell script is not yet complete and requires some help from the community. Work towards bazel-contrib#1975. Address all of the comments
aignas
deleted the
uv-lock-rule-instead-of-genrule
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters