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: `py_binary` ### Is this a regression? This has probably been broken since it was introduced. ###...

core-rules

This is a general tracking issue for making the default bootstrap method the "script" implementatation (i.e. `--bootstrap_impl=script`). The current default is "system_python", which has the problem that it relies on...

P1
core-rules
type: toolchain

## Description The `# gazelle:python_default_visibility` directive is not being applied to `py_test` targets, even though it correctly applies to `py_library` and `py_binary` targets. This occurs when using `# gazelle:map_kind` to...

gazelle

Fixes #3354 This adds a new Gazelle directive `python_generate_pyi_srcs` which accepts a boolean value `true` or `false`. It defaults to `false` for backwards compatibility. When `true`, the directive causes `.pyi`...

type: feature request
gazelle

Followup to https://github.com/bazel-contrib/rules_python/pull/3046#issuecomment-3094797158. We've merged #3046 which will delete `py_binary` targets with missing srcs - let's now expand that to include `py_library` and `py_test` targets. @yushan26 did you want to...

gazelle

Just starting this because this will need discussion/notes and documentation on breaking changes that we will need to do. Potentially incompatible changes: - [ ] #3117 - flip script to...

# 🐞 bug report ### Affected Rule The issue is caused by the rule: py_test() ### Is this a regression? No ### Description After the successful execution of the bazel...

need: repro

# 🐞 bug report ### Affected Rule `py_{test,binary,library}` ### Is this a regression? I'm not sure. I think things work differently between `venvs_site_packages=yes` and `venvs_site_packages=no`. I started seeing this issue...

Bumps the pip group with 7 updates in the /examples/build_file_generation directory: | Package | From | To | | --- | --- | --- | | [certifi](https://github.com/certifi/python-certifi) | `2023.7.22` |...

dependencies
python

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5012#0199eb35-152e-4794-b9cc-f58bb7cbcb89 Platform: Ubuntu, MacOS Logs: ``` (06:10:49) ERROR: /private/var/tmp/_bazel_buildkite/6ee53a52afa88e63dd1880045aabcbf7/external/rules_go+/go/private/extensions.bzl:430:28: Traceback (most recent call last): File "/private/var/tmp/_bazel_buildkite/6ee53a52afa88e63dd1880045aabcbf7/external/rules_go+/go/private/extensions.bzl", line 268, column 26, in _go_sdk_impl _download_sdk( File "/private/var/tmp/_bazel_buildkite/6ee53a52afa88e63dd1880045aabcbf7/external/rules_go+/go/private/extensions.bzl", line 430, column 28,...