commit | d52b964e4cb11a9495643fd7da19b0d648705f28 | [log] [tgz] |
---|---|---|
author | Garrett Holmstrom <gholms@devzero.com> | Mon Nov 18 16:56:51 2024 -0800 |
committer | GitHub <noreply@github.com> | Tue Nov 19 00:56:51 2024 +0000 |
tree | 4aaae829317cadae8494737a8c5d5f60d8f7e0be | |
parent | 9766cb680e0645a9345facbcf08794a589f4aacc [diff] |
feat(pypi): Add extra_hub_aliases to pip_repository too (#2426) The extra_hub_aliases feature from #2369 has bindings in the pip extension for bzlmod users, but not pip_repository for WORKSPACE users. But it _can_ work for either, so this patch moves it to the list of attrs the two share and makes it work with the latter. --------- Co-authored-by: Ignas Anikevicius <240938+aignas@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.