commit | ca0b27a2fcb1ff11aae361624ce18bdfd733af53 | [log] [tgz] |
---|---|---|
author | Matt Brown <mattbrown@spotify.com> | Tue Oct 08 19:51:23 2024 -0400 |
committer | GitHub <noreply@github.com> | Tue Oct 08 23:51:23 2024 +0000 |
tree | cf3caa92846540cbe1ba126b43369e04236be7f3 | |
parent | 84ff5777421c336f1cf1329a3ff0a5754b5bbf47 [diff] |
fix(whl_library): avoid excessive report_progress() messages (#2280) With the current behavior, we see really long progress messages in the console like ``` Running whl_library.ResolveRequirement(foobar_pip_deps_regex, regex==2023.12.25 --hash=sha256:0694219a1d54336fd0445ea3\ 82d49d36882415c0134ee1e8332afd1529f0baa5 <many more lines of --hash values> ``` This spams the console and isn't very useful. To fix, only print up to the first white space, which captures the important information (e.g. "regex==2024.12.25") and is brief. Closes https://github.com/bazelbuild/rules_python/issues/2206
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.