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

Reimplement py_pytest_test macro as a rule. #6

Open
UebelAndre opened this issue Aug 21, 2024 · 0 comments
Open

Reimplement py_pytest_test macro as a rule. #6

UebelAndre opened this issue Aug 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@UebelAndre
Copy link
Collaborator

UebelAndre commented Aug 21, 2024

Currently the macro requires additional targets be generated under the hood so that inputs can be accurately processed before passing them to the pytest process. The ideal solution is to not rely on the py_test rule but to instead convert py_pytest_test into it's own rule so we can more efficiently do plumbing and more gracefully handle situations like transitions

bazelbuild/rules_python#1647 tracks the py_common feature request upstream which could provide a way to generate python executables in custom rules.

@UebelAndre UebelAndre added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant