rules_python
rules_python copied to clipboard
Bazel Python Rules
# 🐞 Errors in Gazelle docs ### Description The first code snippet in the [Adding Gazelle to Your Project](https://github.com/bazelbuild/rules_python/blob/main/gazelle/README.md#adding-gazelle-to-your-project) docs has errors. 1. It looks like `python = use_extension("@rules_python//python/extensions:python.bzl", "python")`...
# 🐞 `pip_parse` produces invalid repository name for URL deps ### Affected Rule The issue is caused by the rule: `pip_parse` ### Is this a regression? Yes, this works in...
# 🐞 bug report ### Affected Rule `bazel-runfiles` ackage ### Is this a regression? Appears to be, we were using `bazel-runfiles` on v0.12.0 with no issue ### Description When running...
Related to pytest support #240 The outcome of https://github.com/bazelbuild/rules_python/pull/723 is that pytest-specifics landed in other repos. https://github.com/caseyduquettesc/rules_python_pytest and https://github.com/aspect-build/rules_py/blob/main/docs/rules.md#py_pytest_main are a couple examples of code generators that create the entrypoint...
# 🐞 bug report ### Affected Rule The issue is caused by the rule: Gazelle extension ### Is this a regression? Yes, before #1895, we were able to cross-compile Gazelle...
# 🐞 bug report ### Affected Rule Not sure ### Is this a regression? Not sure ### Description A clear and concise description of the problem... ## 🔬 Minimal Reproduction...
# 🚀 feature request ### Relevant Rules `py_wheel` ### Description Publishing with `py_wheel` seems to only support username/password auth. It would be great to support `keyring` auth methods as well...
# 🐞 bug report ### Affected Rule The issue is caused by the rule: `py_binary` ### Is this a regression? No ### Description When running a py_binary target with dependencies...
# 🚀 feature request ### Relevant Rules py_{library,binary,test} ### Description When running builds and tests, the user site-packages directory is not ignored, which makes the build less hermetic. ### Describe...
# 🚀 feature request ### Relevant Rules + gazelle ### Description First off, I want to say that I'm not sure if this is a good idea or not. So...