Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make PyRuntimeConfiguredTargetTest pass with Starlark py_runtime impl.
Various fixes from the rushed initial implementation * ctx.attr.files is a list of targets, not a single target * interpreter_path defaults to an empty string when not specified, while it must be None for PyRuntimeInfo to accept the non-hermetic case. * The files arg must be None for the non-hermetic case (an empty depset is not accepted by PyRuntimeInfo). * Missing the `.py` part when access the fragment to get the default Python version. * Default `python_version` to `_INTERNAL_SENTINEL` to match existing behavior (otherwise it defaults to empty string) Work towards #15897 PiperOrigin-RevId: 485109694 Change-Id: Icfbbf606acb8074c12e7dba9b3ec39e6ac524bc5
- Loading branch information