commit | 6f9082fda020a9970d624e54ad3d964d64957f21 | [log] [tgz] |
---|---|---|
author | Chris Chua <chris.sirhc@gmail.com> | Fri Jul 26 11:55:03 2024 +0800 |
committer | GitHub <noreply@github.com> | Fri Jul 26 03:55:03 2024 +0000 |
tree | 241c8093bc792ff1bf6e43fc6d18e8ed649fef73 | |
parent | 59bb4a88783cca738394cb3cb91bc8243df5e18d [diff] |
fix: use downloaded archive in sdist (#2091) Before this PR the extra arguments added by the `experimental_index_url` code paths were not used and the `sdist` was being redownloaded every time we would build from `sdist`. This PR fixes the code to not ignore the extra args added in https://github.com/bazelbuild/rules_python/pull/2091/files#diff-c007ed21502bf8ea19b98b3f1b402e7071615f8520e4291b00a71bca2cd451e8R231 Fixes #2090 --------- Co-authored-by: aignas <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.