Hi Python build rule experts,
I was able to follow the official rules_python example to use 3rd party dependencies in Bazel as defined in
requirements.in here:
https://github.com/bazelbuild/rules_python/tree/main/examples/multi_python_versions
But nowhere can I find how to define and use
requirements-dev.in in Bazel (with additional libs only for dev and testing). Does anybody have any pointers on how to do that?
For regular requirements, I see this line works:
load("@pypi//:requirements.bzl", "requirement")
But it's not obvious how rules_python generates "requirement", so it's unclear to me how to do the similar thing for requirement-dev. I'd appreciate your guidance!
Regards,
HaiXin