Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move pip_compile macro to public API file #114

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

alexeagle
Copy link
Contributor

Allows the underlying rule to have a matching name with the macro.

Demo:

alexeagle@aspect-build bazel-examples % bazel print requirements:all
pip_compile(
    name = "runtime",
    requirements_in = "//:pyproject.toml",
    requirements_txt = "runtime.txt",
)

alexeagle@aspect-build bazel-examples % bazel query --output=label_kind requirements:all
pip_compile rule //requirements:runtime
alias rule //requirements:runtime.update
pip_compile_test rule //requirements:runtime_test

Fixes #113

@alexeagle alexeagle requested a review from a team as a code owner August 21, 2024 17:31
Allows the underlying rule to have a matching name with the macro.

Fixes theoremlp#113
@mark-thm mark-thm merged commit f835827 into theoremlp:main Aug 22, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip_compile macro produces differently-named rule
2 participants