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

We start using the recently introduced `is_python_config_setting` to make it possible to have a working select statement when multiple python version selection needs to happen in a `whl_library`. This adds...

I don't know if this a bug or it is a configuration issue, but on my project that uses both Go and Python, I can't use Gazelle with python and...

Can Close?
need: repro

# 🐞 bug report ### Description A clear and concise description of the problem... I'm trying to build projects that seem to reference the usage of `pip_deps`. I'm not 100%...

Can Close?
need: repro

Fix typo in MODULE.bazel commet

Can Close?

# 🐞 bug report with rules_python 0.31.0 and bazel 7.1.2, there seems to be an issue with naming certain directories with certain names. Wondering if this is expected? ### Description...

This implements precompiling: performing Python source to byte code compilation at build time. This allows improved program startup time by allowing the byte code compilation step to be skipped at...

This change adds support for the riscv64 linux platform to rules_python. It is one of two changes necessary to allow riscv64 linux platforms to bootstrap modern versions of bazel. Before...

Can `pip.override` patch an _internal_ `rules_python` dependency? Specifically, this `installer` PR https://github.com/pypa/installer/pull/216 adds support for a `overwrite_existing` argument to `SchemeDictionaryDestination` and it seems to be stalled. It's a blocker for...

Thanks for the feedback and ideas on https://github.com/bazelbuild/rules_python/pull/1903 @aignas! I liked the `whl_filegroup` idea, here's a PR :) This adds a whl_filegroup API ```Starlark load("@rules_python//python:pip.bzl", "whl_filegroup") whl_filegroup( name = "numpy_includes",...

Remove gazelle plugin's python deps and make it hermetic. No more relying on the system interpreter. Use TreeSitter to parse Python code and use https://github.com/pypi/stdlib-list to determine whether a module...