rules_python
rules_python copied to clipboard
Bazel Python Rules
CI: https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/2561#0199eba1-1362-4c47-9cf7-401a22553ebb Platform: Windows,MacOS, Ubuntu Logs: ``` (08:09:02) WARNING: /Users/buildkite/builds/bk-macos-intel-9i1g/bazel-org-repo-root/rules_python/examples/bzlmod/py_proto_library/example.com/proto/BUILD.bazel:4:17: target '//py_proto_library/example.com/proto:pricetag_py_pb2' is deprecated: Use py_proto_library from protobuf repository (08:09:04) ERROR: Traceback (most recent call last): File "/private/var/tmp/_bazel_buildkite/e8e9b7b3251339fe2f20400b8ca1a3ae/external/rules_nodejs++node+nodejs_toolchains/defs.bzl", line 15,...
...where type errors are still prone to getting introduced. Quoting @aignas in https://github.com/bazel-contrib/rules_python/pull/3240#issuecomment-3384929943 > I personally am not against doing type checking against all of the python code within the...
# 🚀 feature request ### Relevant Rules Gazelle ### Description New directive: `# gazelle:python_generate_pyi_srcs true` or similar If a manually-generated `.pyi` file is present, it should be added to the...
# 🚀 feature request Apologies if this already exists, I did try my best to search. This largely a request for for guidance as to how to document the current...
Currently, the bootstrap script only accepts absolute symlinks. Implements a patch to resolve relative symlinks. Adds an extra, take it if you want it, patch that adds an explicit error...
# 🐞 bug report ### Affected Rule The issue is caused by the rule: `//python/config_settings:python_version` ### Is this a regression? I don't think ### Description rules_python auto config doesn't seems...
These warnings appear if there are no Python source files in the instrumented directories, cf. https://github.com/bazel-contrib/rules_python/issues/2762. Work towards #2762
# 🐞 bug report ### Affected Rule Gazelle ### Is this a regression? Still checking ### Description Presence of `__main__.py` prevents other `*.py` files from being mapped as `py_binary` targets....
Initial API proposal for a stable API for the `experimental_index_url`. TODO for this PR: - [ ] Agree on the interface and flow - it should be described either as...
I have started the removal in #2700, but noticed that a proper removal may require more thinking about how to do this without breaking transitive deps still setting/using 3.8. Probably...