commit | 451e62c46522fe155fdb842eb7f45261f5fb32e0 | [log] [tgz] |
---|---|---|
author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Sun Sep 15 10:00:18 2024 +0900 |
committer | GitHub <noreply@github.com> | Sun Sep 15 01:00:18 2024 +0000 |
tree | 2bbcd6a50cf2356db3f80f764f9f0eb9f9a55d11 | |
parent | 9b16bfb89aa0e8cc4cbbb21426af677b91ca083a [diff] |
refactor(internal): make the usage of MINOR_MAPPING variable explicit in full_version (#2219) This PR just makes the `MINOR_MAPPING` overridable and explicit in many macros/rules that we own. Even though technically new API is exposed, I am not sure if it is possible to use it and I am not sure if we should advertise it. Explicit minor_mapping results in easier wiring of `python.override` `bzlmod` extension tag class planned for #2081.
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.