| commit | a94bd0fdde426bf30efed7c819422d74b404cc18 | [log] [tgz] |
|---|---|---|
| author | Richard Levasseur <richardlev@gmail.com> | Tue Dec 23 23:15:03 2025 -0800 |
| committer | GitHub <noreply@github.com> | Wed Dec 24 07:15:03 2025 +0000 |
| tree | 83002286214cdba05482955ba59c993ef965632e | |
| parent | da822a8ab5a00d3f8f039f6966690c02aa7e13a1 [diff] |
feat: add --debugger flag (#3478) The --debugger flag is useful for injecting a user-specified dependency without having to modify the binary or test. Similarly, tests now implicitly inherit the `PYTHONBREAKPOINT` environment variable. The dependency is only added for the target config because build tools can't be intercepted for debugging. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This repository is the home of the core Python rules -- py_library, py_binary, py_test, py_proto_library, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.