| commit | 4f38119c1918344856e4c86b563aabc4a445887a | [log] [tgz] |
|---|---|---|
| author | Ignas Anikevicius <240938+aignas@users.noreply.github.com> | Thu Oct 03 13:14:54 2024 +0900 |
| committer | GitHub <noreply@github.com> | Thu Oct 03 04:14:54 2024 +0000 |
| tree | f801da73274a8440d68674ac883ff7cd0a09a692 | |
| parent | 413690fd09b068ab43ec9c1d37d20d8017747f2c [diff] |
fix(bzlmod): correctly wire the extra_pip_args (#2258) Before this PR we were just dropping the `extra_pip_args` passed to `pip.parse` and were just using the args passed through the requirements file. Thanks to @swarren12 for pointing this out. This PR also passes `extra_pip_args` to `sdist` `whl_library` instances so that users can build the `sdists` correctly when using `experimental_index_url` feature. Summary: - pass `extra_pip_args` when building sdists in experimental mode - join `extra_pip_args` from the file and the pip.parse attr - test: add a test to ensure that the extra args are joined Fixes #2239 Closes #2254
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.