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

# 🐞 bug report ### Affected Rule The issue is caused by the rule: ### Is this a regression? Yes, the previous version in which this bug was not present...

#523 added py_binary targets for console_scripts, (Python entry points), but scripts (arbitrary executables) are omitted. Moreoever, scripts (under the scripts/ directory in the wheel) are not exposed in any way....

# 🐞 bug report ### Affected Rule The issue is caused by the rule: `all_requirements` ### Is this a regression? Yes, the previous version in which this bug was not...

# 🚀 feature request ### Relevant Rules `pip_install`, `pip_parse` ### Description Imagine following setup: ``` # WORKSPACE load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python", sha256 = "c03246c11efd49266e8e41e12931090b613e12a59e6f55ba2efd29a7cb8b4258", strip_prefix = "rules_python-0.11.0", url...

# 🐞 bug report Recently there were some breaking changes to `setuptools` (see https://github.com/pypa/setuptools/pull/3505), and this broke pip_install for some existing packages for us. FWIW, we use the system interpreter...

# 🐞 bug report ### Affected Rule I suspect it is caused by `requirements.bzl` ### Is this a regression? No, it is also present in 0.8.0 ### Description Rules python...

# 🚀 feature request ### Relevant Rules `//python:packaging.bzl - py_wheel` ### Description The `py_wheel` rule should support the `.data` directory as specified in [PEP 427, The .data directory](https://peps.python.org/pep-0427/#the-data-directory). This is...

This feature adds two new providers (`PyRequirementInfo` and `PyRequirementsInfo`) to `py_wheel.bzl`. Downstream users can use these Providers to supply additional requirement specifiers to the generated wheel metadata. The use case...

Can Close?

N.B.: This is half "example request", half "how do I..." question. # 🚀 feature/example request ### Relevant Rules + py_* + gazelle ### Description The [Python Packaging User Guide recommends...

type: documentation
gazelle

# 🚀 feature request ### Relevant Rules pip extensions with bzlmod ### Description I m migrating to Bazel 7.0 release with Bzlmod feature. Use the example in this repo to...