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

### Description of the feature request: Add options on one or more of the `py_library` rule itself, the python toolchain configuration, or the bazel command line, to generate python bytecode...

type: feature request
P3

This is the general tracking issue for re-implementing the Bazel-bundled Python rules in Starlark in the rules_python repo. The Bazel-side issue is https://github.com/bazelbuild/bazel/issues/15897 As of now (Feb 2023), the Bazel...

type: feature request
core-rules

# 🐞 bug report ### Affected Rule pip_parse/pip_repository ### Is this a regression? Yes this is a regression. ### Description The change in this PR: https://github.com/bazelbuild/rules_python/pull/1166/files specifically unconditionally introducing an...

# 🐞 bug report ### Affected Rule gazelle resolve ### Is this a regression? No ### Description I have a python file with a proto definition imported. When I try...

type: feature request
gazelle

# 🐞 bug report ### Affected Rule python_toolchain_build_file_content ### Is this a regression? Unsure ### Description When it configures `py_toolchain_suite`, it uses `target_compatible_with` to configure the platform compatibilties. It should...

type: toolchain

# 🐞 bug report ### Affected Rule `pip_parse()` is the entry point we are using ### Is this a regression? Unsure ### Description I normally set `export PIP_REQUIRE_VIRTUALENV=1` on my...

This is a ticket to tidy up and do feature work to ensure that the `pip` bzlmod extension can generate a lock file that is `os,arch` independent. The rough list...

type: feature request
type: bzlmod
type: pip

Adds an `example/pypi_install` directory to show-case multi-arch py binaries. Caveats: * Doesn't use bzlmod yet. * Doesn't support multiple Python versions. * Need to re-lock requirements.txt files with the hermetic...

# 🐞 bug report ### Affected Rule Need help on installing psycopg2 library ### Is this a regression? n/a ### Description I am new to the bazel build tool, when...

Can Close?

# 🐞 bug report ### Description I'm trying to create a project that uses restructured text and I want to use the rstfmt package. I can install this manually on...