| commit | 62acad640c53881dfb8cd338cd3ed78bcb54c84d | [log] [tgz] |
|---|---|---|
| author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Sun Jan 11 06:03:30 2026 +0900 |
| committer | GitHub <noreply@github.com> | Sat Jan 10 21:03:30 2026 +0000 |
| tree | 61303a85df58b69d80f25ce8ed613a8e5469071d | |
| parent | 144984ccbd61f3459dd2a1f86210bd2aab69043f [diff] |
fix(pipstar): correctly handle platlib and purelib in .data (#3501) Some packages like use `platlib` in the data to put the main files. This PR is implementing correct handling of such packages by recursively merging two trees. If we have any collisions, we will print an error and stop. That is unlikely but better to be safe. Users can patch the failure to be a warning if necessary. In order to make this more testable, move the functions to a separate file. Fixes #3500 Fixes #2949 To be cherry-picked as part of #3466
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.