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

Would it be possible to get a new release of `rules_python` which includes the following PRs? - https://github.com/bazelbuild/rules_python/pull/773 - https://github.com/bazelbuild/rules_python/pull/769

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

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

# 🐞 bug report ### Affected Rule python_register_toolchains ### Is this a regression? no ### Description I have the following in my WORKSPACE file: ``` load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name =...

Can Close?
need: repro

# 🚀 feature request ### Relevant Rules `pip_parse()` / `pip_repository()` or everything that exposes `python_interpreter_target`. ### Description `pip_parse()` / `pip_repository()` can take a python interpreter via a label with `python_interpreter_target`....

Can Close?

`py_test` is a Bazel rule and `pytest` is a Python library for writing and running tests https://docs.pytest.org https://github.com/pytest-dev/pytest I've found two third-party Bazel rules for running tests written with pytest...

type: feature request

Adds a `py_pytest_main` entrypoint rule for templating a launcher for pytest that works in conjunction with the Gazelle extension.

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

`pip_repository` goes through the effort of building [`PYTHONPATH`](https://github.com/bazelbuild/rules_python/blob/4c961d92a15f4a3f90faab82eecb18d91ee2ccbe/python/pip_install/pip_repository.bzl#L6-L26) using its [vendored dependencies](https://github.com/bazelbuild/rules_python/blob/884afdccded874302aa8ca0808312f87c5f2675e/python/pip_install/repositories.bzl) like `setuptools`. This is used in `pip_repository` and `whl_library`. By default, it also passes `--isolated` to `pip wheel`,...

## PR Checklist Please check if your PR fulfills the following requirements: - [X] Does not include precompiled binaries, eg. `.par` files. See [CONTRIBUTING.md](https://github.com/bazelbuild/rules_python/blob/master/CONTRIBUTING.md) for info - [ ] Tests...

cla: yes