rules_python
rules_python copied to clipboard
Bazel Python Rules
I'm trying to get rules_ros2 to Bzlmod. There is a dependency on numpy headers that are exposed via an additive_build_content cc_library. One of the last migration challenges is how to...
# 🚀 feature request ### Relevant Rules At present, we judge whether a module is a standard library through the system interpreter, which is uncontrollable. After https://github.com/bazelbuild/rules_python/pull/1895 landing, we have...
Fix typo in py_wheel.bzl.
# 🐞 bug report ### Affected Rule The issue is caused by the rule: `py_binary` ### Is this a regression? Yes, the previous version in which this bug was not...
Consider using https://github.com/bazelbuild/bazel-gazelle/blob/master/extend.md#gazelle_generation_test in our `gazelle` plugin tests
# 🐞 bug report ### Affected Rule The issue is caused by the rule: It seems to be a new behavior introduced in rules_python 0.26 that forces the `py_repositories` call...
# 🐞 bug report ### Affected Rule bazel build //... WARNING: /rules_python/docs/BUILD.bazel:31:6: target '//docs:bazel_repo_tools' is deprecated: Use @bazel_tools//tools:bzl_srcs instead; targets under //docs are internal. WARNING: /rules_python/docs/BUILD.bazel:25:6: target '//docs:defs' is deprecated:...
# 🚀 feature request ### Relevant Rules `pip.parse` with `experimental_index_url` set to a non-empty value. ### Description Quite often the users create a `requirements.txt` file by just using `pip freeze`....
The `bzlmod` folder seems unnecessary indirection now. It was perhaps useful as we developed bzlmod support, but we no longer need it and it makes navigating the repository more difficult.
# Context This PR introduces a toolchain for [uv](https://github.com/astral-sh/uv) and a module extension that can install it. It will be followed by some rules that make use of the toolchain...