rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Bazel Python Rules

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

- Adds blacklisting of the well-known types in the python runtime provided by the toolchain/runtime, as this can cause duplicate generation of these protos in some cases. This conditionally tries...

Can Close?

# 🐞 bug report ### Affected Rule pip_parse ### Is this a regression? Unsure ### Description The wheel installer glob assumes that the wheels will be downloded to the current...

Can Close?
type: pip

Incompatible flag --incompatible_config_setting_private_default_visibility will be enabled by default in the next major release (Bazel 7.0), thus breaking rules_go. Please migrate to fix this and unblock the flip of this flag....

Can Close?
help wanted

This is not a breaking change because previously we just failed at the runfiles with ``` link or target filename contains space on line 9877: '_main/external/rules_python~override~pip~pypi_311_imgaug/site-packages/imgaug/augmenters/arithmetic (copy).py /root/.cache/bazel/_bazel_root/00e0182df830644af7af00c92693c660/external/rules_python~override~pip~pypi_311_imgaug/site-packages/imgaug/augmenters/arithmetic (copy).py' ```...

Can Close?

# 🐞 bug report ### Affected Rule The issue is caused by the rule: `current_py_toolchain` ### Description Unable to use current_py_toolchain with hermetic toolchains ## 🔬 Minimal Reproduction `WORKSPACE.bazel` ```...

Can Close?

# 🚀 feature request ### Relevant Rules My workspace file looks like this ```python ### PYTHON http_archive( name = "rules_python", sha256 = "94750828b18044533e98a129003b6a68001204038dc4749f40b195b24c38f49f", strip_prefix = "rules_python-0.21.0", url = "https://github.com/bazelbuild/rules_python/releases/download/0.21.0/rules_python-0.21.0.tar.gz", )...

type: toolchain
need: upstream support

Each commit should be self-contained but at a high level: - `py_package` now returns `PyInfo` with collected files and imports. - `py_package` now has an `exclude` attr that's applied after...

Can Close?

# 🐞 bug report ### Affected Rule python_register_toolchains in WORKSPACE files ### Is this a regression? Unclear ### Description Enabling bzlmod, but still using a workspace file (i.e. an empty...

type: bug
type: bzlmod

# 🐞 bug report ### Affected Rule The issue is caused by the rule: During the loading phase. ### Is this a regression? I don't think so. ### Description Per...

When installing `scikit-rf`, a directory with whitespace in it causes installation failures since there's a file in the filegroup that is an invalid Bazel label. https://github.com/scikit-rf/scikit-rf/pull/1019 also attempts to fix...