| commit | a9056b1ff23063f4605d77acc3aa362cbd6103d1 | [log] [tgz] |
|---|---|---|
| author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Mon Nov 24 04:04:42 2025 +0900 |
| committer | GitHub <noreply@github.com> | Sun Nov 23 19:04:42 2025 +0000 |
| tree | c8c4ba68b141e2a900e8a4532e003d66ea6a6d12 | |
| parent | 235cc00cda5212af1d8349b0e9e269ac5bdc501d [diff] |
chore: enable pipstar for experimental_index_url users (#3428) `bazel query` may break if users right now rely on the behaviour of: > only host platform packages are present in the whl_library instances When we enabled `pipstar` by default, one of our user reported this breakage because: 1. The `triton` dependency is only used on `linux` and it is in one of the `requirements` files. 2. On mac, this dependency did not have a `whl_library` repository materialized and the bazel query failed because of this reason. Hence we enable `pipstar` in a different way - we only enable it when whl files are downloaded via the bazel downloader and `bazel query` is less likely to fail if you can use the bazel downloader for all of your deps. Work towards #2949 --------- Co-authored-by: Richard Levasseur <richardlev@gmail.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.