commit | f8d41350786b1171f2e269a1ab4084c55483bc32 | [log] [tgz] |
---|---|---|
author | Oleh Prypin <oprypin@google.com> | Sun Oct 27 21:07:17 2024 +0100 |
committer | GitHub <noreply@github.com> | Sun Oct 27 20:07:17 2024 +0000 |
tree | 85103430a815e5d8049545a67bfcbbf3888c0ff7 | |
parent | afecfd25a9236a2a94e302295ddc9e52a7ac08f8 [diff] |
fix: breakages in unused codepaths after recent refactors (#2353) * There is no such method `common_runfiles.add_runfiles`; use `add_targets()` instead. This only occurs when there are extra deps, which currently on Google-patches trigger. * The docs say that `BuiltinPyInfo` might be None, but that case is not handled here. This occurs in newer Bazel versions where the builtin PyInfo has been removed.
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.