theoremlp / rules_uv

Bazel rules for running uv
Apache License 2.0
32 stars 16 forks source link

pip_compile macro produces differently-named rule #113

Closed alexeagle closed 2 months ago

alexeagle commented 2 months ago

A user who wrote pip_compile in their BUILD file might query:

% bazel query --output=label_kind requirements:all
_pip_compile rule //requirements:requirements.all
alias rule //requirements:requirements.all.update
_pip_compile_test rule //requirements:requirements.all_test

It's not desirable that the names here don't match the name in the BUILD file.

Note, I'll send a PR to fix this shortly