| commit | 0816a1ff1e425f5177d10433a50fc756ca79ccb1 | [log] [tgz] |
|---|---|---|
| author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Mon Dec 15 04:25:29 2025 +0900 |
| committer | GitHub <noreply@github.com> | Sun Dec 14 19:25:29 2025 +0000 |
| tree | 65a0f1e6cf930bf6fe2c88db5e51ba96cbb9004b | |
| parent | fd7a2e9611c280314df3c42296cca4bb94509c45 [diff] |
fix(pip): set better defaults for the new target_platforms attr (#3447) Fixup the default values for the `target_platforms` so that the users can actually switch it as per docs. I have also taken the liberty to update all of the tests to better reflect how we set things up for legacy and index-url setups. As it is now, legacy `bzlmod` whl_library layout is much more similar to WORKSPACE, which makes the transition easier. Work towards #2949
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.