| commit | e40b6093525feee99dc47db87ee7fb3b7da3f9ed | [log] [tgz] |
|---|---|---|
| author | Richard Levasseur <richardlev@gmail.com> | Sun Nov 09 20:42:10 2025 -0800 |
| committer | GitHub <noreply@github.com> | Mon Nov 10 04:42:10 2025 +0000 |
| tree | 19763ae6bbc5b4f18b16894dbee10b12e4c995b4 | |
| parent | 4dca7e543b6355947cb1a1d309c610450fa70abf [diff] |
fix: use runfiles symlinks for venv symlink creation to reduce action count (#3402) When the venv files are materialized, it can result in many symlink actions being created. Rather than register them as regular symlink actions, batch them into the runfiles object, which can probably handle large numbers of them more efficiently. Work towards https://github.com/bazel-contrib/rules_python/issues/3401
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.