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

After `pip lock` lands, this might become a better `requirements.txt` alternative. References: * pip (25.1) will export a lockfile - ETA 2 weeks https://github.com/pypa/pip/pull/13213 * packaging has landed the marker...

type: pip

Right now there are constants named `all_requirements`, `all_whl_requirements` and `all_data_requirements` that expose: * all of the `py_library` targets. * all of the wheels from the hub repo (this are just...

P4
type: pip

Currently we create one repository per python version per wheel repo in any hub that is configured with `experimental_index_url`. If `pipstar` is enabled by default, we can instead just create...

P4
type: pip

Support building from `sdist` as a build action instead of `repository_rule`. Things needed: * [ ] A way to use a different `repository` rule that would not do any building...

type: feature request
help wanted
type: pip

### Description of the bug: If I mess up my BUILD structure, and forget to include `srcs = ["__init__.py"]`, it seems it can happen that Bazel overwrites the existing `__init__.py`...

type: bug
core-rules

This is just some stuff that I wanted to write down before I forget. Feel free to continue/hack on this. The goal is to have: - `platform_version` configuration for the...

The use of a forked version of `go-tree-sitter` causes conflicts when other gazelle languages use tree sitter. # 🐞 bug report ### Is this a regression? Yes ### Description It...

The automatic generation of `__init__.py` files has been a source of odd, surprising, and incorrect behavior. e.g. it makes directories importable that shouldn't be importable. This is because it's logic...

core-rules
cleanup

Right now, repo roots are added to sys.path. This is problematic for a variety of reasons * It causes the repos with external pip deps to end up on sys.path,...

core-rules
cleanup

Currently, the PyInfo's imports field returns all imports paths defined in a target, combined with the ones from its transitive dependencies, as defined here There's no way to retrieve the...

type: feature request
core-rules