| commit | f92ad7136ff411755ec8d8361af8263fd8efe6f2 | [log] [tgz] |
|---|---|---|
| author | Richard Levasseur <richardlev@gmail.com> | Fri Oct 17 16:09:48 2025 -0700 |
| committer | GitHub <noreply@github.com> | Fri Oct 17 23:09:48 2025 +0000 |
| tree | 4b0a0a1cd7417157ac5043a3aae3e7c8910024a3 | |
| parent | e487b6dddd2c3b233f94e4a343d9cf0cb32d60ec [diff] |
chore: make gazelle bcr tests compatible with bcr presubmit environment (#3365) BCR recently changed how it extracts archives in its presubmits: instead of extracting the whole archive, only the specified portion (`gazelle/` in this case) is extracted. This broke the gazelle tests because they reference files above the gazelle directory. To fix, move the module it runs as a test under the gazelle directory. Because the test module also refers to rules_python, which is above the gazelle directory, the bcr presubmit has disable that override using `--override_module`. This means, going forward, the gazelle module, when bcr tests it, will use the version in the MODULE file (rather than the vendored copy). Fixes https://github.com/bazel-contrib/rules_python/issues/3364
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.