commit | 6d108c49a198d851873e35a70d8e7518d568ae75 | [log] [tgz] |
---|---|---|
author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Mon Oct 21 15:33:18 2024 +0900 |
committer | GitHub <noreply@github.com> | Mon Oct 21 06:33:18 2024 +0000 |
tree | 2f29465b3bd273cbaff09cb6c036260d39236919 | |
parent | 317dab4133fe0ef1809583b73dda4f7acf2a6b9a [diff] |
test(bzlmod): refactor pip_parse to make it more testable (#2314) This PR introduces a new `parse_modules` function in the `pypi/extension.bzl` code to mimic the structure of the `python` extension and to make it easier to write unit tests against the extension itself. I have also written a few unit tests to verify the generic structure. Work towards #2268.
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.