commit | c46ee9240a483c41c53db8dc6f7acae4e4475827 | [log] [tgz] |
---|---|---|
author | Richard Levasseur <rlevasseur@google.com> | Thu Sep 05 18:29:41 2024 -0700 |
committer | GitHub <noreply@github.com> | Fri Sep 06 01:29:41 2024 +0000 |
tree | 8bfd72fbf070018944b1fc4e02a581fa4b7470f0 | |
parent | 42484670fd2af1a6cacccc2d60b512d1ee7fc1ea [diff] |
fix: allow detecting if `--precompile_source_retention` was specified on the command line (#2192) This defaults the `--precompile_source_retention` flag to a new value, `auto`. The effective default remains the same (`keep_source`). Having a separate value as the default allows detecting if the value was specified on the command line, which allows distinguishing between "pick for me" vs "I specifically want this behavior".
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.