| commit | fc2a9f987e629d6dbedec089d58386c836524eb3 | [log] [tgz] |
|---|---|---|
| author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Thu Dec 18 08:30:59 2025 +0900 |
| committer | GitHub <noreply@github.com> | Wed Dec 17 23:30:59 2025 +0000 |
| tree | e6093d16e58f9f89e1f0788756f2f0a6c01018b1 | |
| parent | 50fb48e6cc968ce7791433142c96d979709c60c8 [diff] |
fix(pipstar): fix whl extraction and flip pipstar=true (#3461) Attempt number 2. This should be smoother this time and should not cause any breakage because we are not enabling any cross-building by default and only the host wheels will be present. Because we also started extracting using starlark APIs, some extra fixups where needed because some wheels require extracting `.data` files into correct paths. This also adds the `INSTALLER` file after extracting files to signify that `pipstar` has installed the file. Because we have stopped passing hermetic interpreter to the `whl_library` if pipstar is enabled, we also needed to ensure that the code path is only enabled if the extraction with pipstar is supported (i.e. bazel >= 8). Fixes #2949 --------- Co-authored-by: Richard Levasseur <richardlev@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.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.