commit | f2668295be2f73623ea0ed62f2942ecfd448c8d2 | [log] [tgz] |
---|---|---|
author | Jeff Klukas <jklukas@netflix.com> | Fri Sep 26 19:27:48 2025 -0400 |
committer | GitHub <noreply@github.com> | Fri Sep 26 23:27:48 2025 +0000 |
tree | 680a3ec2d82bedc7604ec6f868e0b60f2e64f0ac | |
parent | c5662583fed5d0418cfbc0f514935752ce950fae [diff] |
feat(runfiles): support for --incompatible_compact_repo_mapping_manifest (#3277) Under bzlmod, the repo mapping can become quite large (i.e. tens of megabytes) because its size scales as a factor of the number of repos in the transitive dependencies. To address this, the --incompatible_compact_repo_mapping_manifest flag was introduced. This changes the repo mapping formation to use prefixes (instead of exact repo names) for mapping things. To make this work with the runfiles library, the code has to be updated to handle these prefixes instead of just exact strings. Fixes #3022. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Richard Levasseur <richardlev@gmail.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.