From 9d76ab452e6dbc7a9ce107671e5f18be80848dd1 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Fri, 6 Feb 2026 20:13:54 -0800 Subject: [PATCH 1/2] docs: mention PyRuntimeInfo in PyExecutableInfo --- python/private/py_executable_info.bzl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/private/py_executable_info.bzl b/python/private/py_executable_info.bzl index 81216b8e89..7a2d1e118a 100644 --- a/python/private/py_executable_info.bzl +++ b/python/private/py_executable_info.bzl @@ -18,6 +18,11 @@ The runfiles for the executable's "user" dependencies. These are things in e.g. e.g. the Python runtime itself. It's roughly akin to the files a traditional venv would have installed into it. +:::{seealso} +{obj}`PyRuntimeInfo` for the Python runtime files, which is available from +{obj}`py_binary` et al rules. +::: + :::{versionadded} VERSION_NEXT_FEATURE ::: """, From 4a00d77114806af14401e6e8e0337d2bec694838 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Sat, 7 Feb 2026 07:59:32 -0800 Subject: [PATCH 2/2] clarify doc --- python/private/py_executable_info.bzl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/private/py_executable_info.bzl b/python/private/py_executable_info.bzl index 7a2d1e118a..24aa705566 100644 --- a/python/private/py_executable_info.bzl +++ b/python/private/py_executable_info.bzl @@ -19,8 +19,9 @@ e.g. the Python runtime itself. It's roughly akin to the files a traditional venv would have installed into it. :::{seealso} -{obj}`PyRuntimeInfo` for the Python runtime files, which is available from -{obj}`py_binary` et al rules. +{obj}`PyRuntimeInfo` for the Python runtime files. The {obj}`py_binary` et al +rules provide it directly so that the runtime the binary original chose +can be accessed. ::: :::{versionadded} VERSION_NEXT_FEATURE