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

I am trying to build an external repo using `cmake` from [rules_foreign_cc](https://bazelbuild.github.io/rules_foreign_cc/0.7.1/cmake.html). That CMake build needs to have certain Python packages available to it. I'd like to install them using...

type: feature request

# 🐞 bug report ### Affected Rule The issue is likely somewhere in these rules: `pip_parse`/`install_deps`/`whl_library` ### Is this a regression? Yes, the previous version in which this bug was...

# 🚀 feature request ### Description There's no test that ensures changes don't introduce breakages to users who generate docs via `stardoc` when they consume `@rules_python//:bzl`. This should be added...

type: feature request

## PR Checklist Please check if your PR fulfills the following requirements: - [ ] Tests for the changes have been added (for bug fixes / features) - [ ]...

### Description of the problem / feature request / question: Native Python modules on Windows need to have a `.pyd` extension (or they will not be recognized). `cc_binary` does not...

I'd like to run `ipython` or `jupyter notebook` and be able to load my bazel libraries. How can I do that?

type: feature request
untriaged

As observed in https://github.com/Tinder/bazel-diff/issues/134 we currently generate `whl_library` rules https://github.com/bazelbuild/rules_python/blob/main/python/pip_install/parse_requirements_to_bzl/__init__.py#L144 which look like ``` % bazel query --output=build //external:my_deps_testcontainers # /Users/alex.eagle/repros/pip_bazel-diff/WORKSPACE:31:13 whl_library( name = "my_deps_testcontainers", generator_name = "my_deps_testcontainers", generator_function =...

# 🚀 feature request ### Relevant Rules `load("@rules_python//python:pip.bzl", "pip_install")` ### Description We'd like to be able to override a `requirement` with a Bazel target. This is basically the `rules_python` equivalent...

type: feature request
Can Close?

`bazel coverage` should generate a coverage report for the python tests it runs. Ideally, it gathers the list of dependencies, and then computes coverage over that for a given test....

type: feature request
P4

## PR Checklist Please check if your PR fulfills the following requirements: - [ ] Tests for the changes have been added (for bug fixes / features) - [ ]...