rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Bazel Python Rules

Results 536 rules_python issues
Sort by recently updated
recently updated
newest added

Over in the setup of the python header targets, some code paths still add e.g. `include/pythonX.Ym` as includes paths. In https://github.com/bazel-contrib/rules_python/pull/3274#discussion_r2357738084 nicholasjng pointed out the python-build-standalone don't appear to include...

Update: I was [reading a thread](https://bazelbuild.slack.com/archives/CA306CEV6/p1751471945163239) in `#python` and saw that this set to True when setting `--incompatible_default_to_explicit_init_py` is actually desirable and forward-looking. So perhaps this PR is unnecessary for...

# 🐞 bug report ### Affected Rule `rules_python/tools/wheelmaker` ### Is this a regression? We did not encounter this in 1.4.2: https://github.com/protocolbuffers/protobuf/actions/runs/17471667264/job/49621377398 ### Description I upgraded protobuf's rules_python version to 1.6...

As part of Starlarkification, we plan to move all Python-related build flags defined in Bazel core code into `rules_python`. This: - gives `rules_python` owners more complete control over Bazel's Python...

# 🐞 bug report ### Affected Rule ```bzl load("@rules_python//python:defs.bzl", "py_test") py_test( name = "first", srcs = ["foo.py"], main = "foo.py", ) py_test( name = "second", srcs = ["foo.py"], exec_properties =...